home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-04-01 | 142.0 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
100%
| file
| MacBinary II, inited, Wed Mar 6 12:06:31 1991, modified Mon Apr 1 14:24:40 1991, creator HyperCard, type HyperCard stack, 90112 bytes "Search" , at 0x16080 55124 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
33%
| TrID
| TTComp archive compressed (bin-4K)
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 53 65 61 72 63 68 | 00 00 00 00 00 00 00 00 |..Search|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 60 00 00 | 00 d7 54 a3 fa d2 17 a4 |.....`..|..T.....|
|00000060| 1d 39 78 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.9x.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ed cc 00 00 |........|........|
|00000080| 00 00 22 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..".STAK|........|
|00000090| 00 00 00 0a 00 01 60 00 | 00 00 22 00 00 00 00 00 |......`.|..".....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a e8 00 00 00 01 |........|........|
|000000b0| 00 00 11 14 00 00 0b c2 | 00 00 00 03 00 00 ec 80 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 00 80 00 02 00 80 00 | 02 00 80 00 02 01 80 00 |........|........|
|000000f0| 5c 58 f5 76 00 00 00 00 | 00 41 00 40 01 91 02 00 |\X.v....|.A.@....|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 8b 00 00 0c 43 | 03 38 01 c0 00 00 00 00 |.......C|.8......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 2c c0 00 00 42 e0 | 00 00 73 c0 00 00 42 80 |..,...B.|..s...B.|
|00000490| 00 00 f8 c0 00 00 67 20 | 7f ff ff ff 00 00 0a 20 |......g |....... |
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 0d 2d 2d 20 53 65 61 72 | 63 68 20 32 2e 31 0d 2d |.-- Sear|ch 2.1.-|
|00000690| 2d 20 41 70 70 6c 65 20 | 4f 6e 6c 69 6e 65 20 52 |- Apple |Online R|
|000006a0| 65 66 65 72 65 6e 63 65 | 20 4c 69 62 72 61 72 79 |eference| Library|
|000006b0| 0d 2d 2d 20 43 6f 70 79 | 72 69 67 68 74 20 a9 20 |.-- Copy|right . |
|000006c0| 31 39 39 30 2d 39 31 20 | 41 70 70 6c 65 20 43 6f |1990-91 |Apple Co|
|000006d0| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 0d 0d 0d 0d |mputer, |Inc.....|
|000006e0| 2d 2d 20 4f 6e 20 6f 70 | 65 6e 53 74 61 63 6b 2c |-- On op|enStack,|
|000006f0| 20 63 6f 6d 6d 75 6e 65 | 20 77 69 74 68 20 74 68 | commune| with th|
|00000700| 65 20 62 72 6f 77 73 65 | 72 0d 5f 5f 5f 5f 5f 5f |e browse|r.______|
|00000710| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000720| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000730| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000740| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000750| 5f 5f 0d 6f 6e 20 6f 70 | 65 6e 53 74 61 63 6b 0d |__.on op|enStack.|
|00000760| 0d 67 6c 6f 62 61 6c 20 | 50 65 67 61 73 75 73 2c |.global |Pegasus,|
|00000770| 20 42 72 6f 77 73 65 72 | 49 6e 69 74 65 64 2c 20 | Browser|Inited, |
|00000780| 50 72 65 66 65 72 65 6e | 63 65 73 46 6f 6c 64 65 |Preferen|cesFolde|
|00000790| 72 2c 20 42 72 6f 77 73 | 65 72 50 61 74 68 2c 20 |r, Brows|erPath, |
|000007a0| c2 0d 53 65 61 72 63 68 | 50 61 74 68 2c 20 53 65 |..Search|Path, Se|
|000007b0| 61 72 63 68 49 6e 69 74 | 65 64 0d 0d 73 65 6e 64 |archInit|ed..send|
|000007c0| 20 73 69 7a 65 57 69 6e | 64 6f 77 20 74 6f 20 74 | sizeWin|dow to t|
|000007d0| 68 69 73 20 63 64 0d 73 | 65 74 20 63 75 72 73 6f |his cd.s|et curso|
|000007e0| 72 20 74 6f 20 77 61 74 | 63 68 0d 70 75 74 20 22 |r to wat|ch.put "|
|000007f0| 52 65 66 65 72 65 6e 63 | 65 20 4c 69 62 72 61 72 |Referenc|e Librar|
|00000800| 79 22 20 69 6e 74 6f 20 | 50 65 67 61 73 75 73 0d |y" into |Pegasus.|
|00000810| 0d 2d 2d 20 49 66 20 74 | 68 65 20 62 72 6f 77 73 |.-- If t|he brows|
|00000820| 65 72 27 73 20 6e 6f 74 | 20 61 6c 72 65 61 64 79 |er's not| already|
|00000830| 20 67 6f 69 6e 67 2c 20 | 6c 61 75 6e 63 68 20 26 | going, |launch &|
|00000840| 20 69 6e 69 74 69 61 6c | 69 7a 65 20 69 74 0d 0d | initial|ize it..|
|00000850| 69 66 20 42 72 6f 77 73 | 65 72 49 6e 69 74 65 64 |if Brows|erInited|
|00000860| 20 ad 20 74 72 75 65 20 | 74 68 65 6e 0d 70 75 74 | . true |then.put|
|00000870| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 42 72 6f 77 | empty i|nto Brow|
|00000880| 73 65 72 50 61 74 68 0d | 0d 2d 2d 20 46 69 6e 64 |serPath.|.-- Find|
|00000890| 20 74 68 65 20 70 72 65 | 66 65 72 65 6e 63 65 73 | the pre|ferences|
|000008a0| 20 66 69 6c 65 20 61 6e | 64 20 72 65 61 64 20 74 | file an|d read t|
|000008b0| 68 65 20 62 72 6f 77 73 | 65 72 20 70 61 74 68 20 |he brows|er path |
|000008c0| 66 72 6f 6d 20 69 74 0d | 0d 67 65 74 20 69 74 65 |from it.|.get ite|
|000008d0| 6d 20 32 20 6f 66 20 28 | 73 79 73 50 72 65 66 73 |m 2 of (|sysPrefs|
|000008e0| 28 65 6d 70 74 79 29 20 | 26 20 50 65 67 61 73 75 |(empty) |& Pegasu|
|000008f0| 73 20 26 26 20 22 53 74 | 75 66 66 3a 50 72 65 66 |s && "St|uff:Pref|
|00000900| 65 72 65 6e 63 65 73 22 | 29 0d 69 66 20 74 68 65 |erences"|).if the|
|00000910| 72 65 20 69 73 20 61 20 | 66 69 6c 65 20 69 74 20 |re is a |file it |
|00000920| 74 68 65 6e 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |then.put| it into|
|00000930| 20 70 72 65 66 65 72 65 | 6e 63 65 73 46 69 6c 65 | prefere|ncesFile|
|00000940| 0d 6f 70 65 6e 20 66 69 | 6c 65 20 70 72 65 66 65 |.open fi|le prefe|
|00000950| 72 65 6e 63 65 73 46 69 | 6c 65 0d 72 65 61 64 20 |rencesFi|le.read |
|00000960| 66 72 6f 6d 20 66 69 6c | 65 20 70 72 65 66 65 72 |from fil|e prefer|
|00000970| 65 6e 63 65 73 46 69 6c | 65 20 75 6e 74 69 6c 20 |encesFil|e until |
|00000980| 72 65 74 75 72 6e 0d 70 | 75 74 20 6c 69 6e 65 20 |return.p|ut line |
|00000990| 31 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 42 72 6f |1 of it |into Bro|
|000009a0| 77 73 65 72 50 61 74 68 | 0d 63 6c 6f 73 65 20 66 |wserPath|.close f|
|000009b0| 69 6c 65 20 70 72 65 66 | 65 72 65 6e 63 65 73 46 |ile pref|erencesF|
|000009c0| 69 6c 65 0d 65 6e 64 20 | 69 66 0d 0d 2d 2d 20 49 |ile.end |if..-- I|
|000009d0| 66 20 74 68 65 20 62 72 | 6f 77 73 65 72 20 63 61 |f the br|owser ca|
|000009e0| 6e 27 74 20 62 65 20 66 | 6f 75 6e 64 2c 20 6d 61 |n't be f|ound, ma|
|000009f0| 6b 65 20 74 68 65 20 75 | 73 65 72 20 66 69 6e 64 |ke the u|ser find|
|00000a00| 20 69 74 2e 20 49 66 20 | 74 68 65 0d 2d 2d 20 75 | it. If |the.-- u|
|00000a10| 73 65 72 20 64 6f 65 73 | 6e 27 74 20 66 69 6e 64 |ser does|n't find|
|00000a20| 20 69 74 2c 20 63 6c 6f | 73 65 20 74 68 69 73 20 | it, clo|se this |
|00000a30| 73 74 61 63 6b 2e 0d 0d | 69 66 20 28 42 72 6f 77 |stack...|if (Brow|
|00000a40| 73 65 72 50 61 74 68 20 | 69 73 20 65 6d 70 74 79 |serPath |is empty|
|00000a50| 29 20 6f 72 20 74 68 65 | 72 65 20 69 73 20 61 20 |) or the|re is a |
|00000a60| 66 69 6c 65 20 28 42 72 | 6f 77 73 65 72 50 61 74 |file (Br|owserPat|
|00000a70| 68 29 20 3d 20 66 61 6c | 73 65 20 74 68 65 6e 0d |h) = fal|se then.|
|00000a80| 67 65 74 20 66 69 6c 65 | 4e 61 6d 65 28 22 53 54 |get file|Name("ST|
|00000a90| 41 4b 22 2c 22 57 68 65 | 72 65 20 69 73 20 74 68 |AK","Whe|re is th|
|00000aa0| 65 22 20 26 26 20 50 65 | 67 61 73 75 73 20 26 26 |e" && Pe|gasus &&|
|00000ab0| 20 22 42 72 6f 77 73 65 | 72 3f 22 29 0d 69 66 20 | "Browse|r?").if |
|00000ac0| 28 50 65 67 61 73 75 73 | 20 26 26 20 22 42 72 6f |(Pegasus| && "Bro|
|00000ad0| 77 73 65 72 22 29 20 69 | 73 20 69 6e 20 69 74 20 |wser") i|s in it |
|00000ae0| 74 68 65 6e 20 70 75 74 | 20 69 74 20 69 6e 74 6f |then put| it into|
|00000af0| 20 42 72 6f 77 73 65 72 | 50 61 74 68 0d 65 6c 73 | Browser|Path.els|
|00000b00| 65 0d 64 6f 4d 65 6e 75 | 20 22 63 6c 6f 73 65 20 |e.doMenu| "close |
|00000b10| 73 74 61 63 6b 22 0d 65 | 78 69 74 20 74 6f 20 48 |stack".e|xit to H|
|00000b20| 79 70 65 72 43 61 72 64 | 0d 65 6e 64 20 69 66 0d |yperCard|.end if.|
|00000b30| 65 6e 64 20 69 66 0d 0d | 2d 2d 20 49 6e 69 74 69 |end if..|-- Initi|
|00000b40| 61 6c 69 7a 65 20 74 68 | 65 20 62 72 6f 77 73 65 |alize th|e browse|
|00000b50| 72 0d 0d 73 74 61 72 74 | 20 75 73 69 6e 67 20 73 |r..start| using s|
|00000b60| 74 61 63 6b 20 42 72 6f | 77 73 65 72 50 61 74 68 |tack Bro|wserPath|
|00000b70| 0d 69 6e 69 74 42 72 6f | 77 73 65 72 20 2d 2d 20 |.initBro|wser -- |
|00000b80| 69 6e 20 74 68 65 20 62 | 72 6f 77 73 65 72 0d 0d |in the b|rowser..|
|00000b90| 65 6e 64 20 69 66 0d 0d | 2d 2d 20 54 68 69 73 20 |end if..|-- This |
|00000ba0| 63 6f 64 65 20 69 6e 69 | 74 73 20 74 68 69 73 20 |code ini|ts this |
|00000bb0| 73 74 61 63 6b 20 69 6e | 20 74 68 65 20 66 6f 6c |stack in| the fol|
|00000bc0| 6c 6f 77 69 6e 67 20 63 | 61 73 65 3a 20 74 68 65 |lowing c|ase: the|
|00000bd0| 20 73 65 61 72 63 68 0d | 2d 2d 20 73 74 61 63 6b | search.|-- stack|
|00000be0| 20 77 61 73 6e 27 74 20 | 69 6e 69 74 65 64 20 62 | wasn't |inited b|
|00000bf0| 79 20 74 68 65 20 62 72 | 6f 77 73 65 72 20 28 70 |y the br|owser (p|
|00000c00| 65 72 68 61 70 73 20 62 | 65 63 61 75 73 65 20 69 |erhaps b|ecause i|
|00000c10| 74 20 77 61 73 20 6d 69 | 73 6e 61 6d 65 64 0d 2d |t was mi|snamed.-|
|00000c20| 2d 20 6f 72 20 69 6e 20 | 74 68 65 20 77 72 6f 6e |- or in |the wron|
|00000c30| 67 20 66 6f 6c 64 65 72 | 29 2c 20 61 6e 64 20 74 |g folder|), and t|
|00000c40| 68 65 20 75 73 65 72 20 | 74 68 65 6e 20 6c 6f 63 |he user |then loc|
|00000c50| 61 74 65 64 20 61 6e 64 | 20 6c 61 75 6e 63 68 65 |ated and| launche|
|00000c60| 64 20 69 74 0d 0d 69 66 | 20 53 65 61 72 63 68 49 |d it..if| SearchI|
|00000c70| 6e 69 74 65 64 20 ad 20 | 74 72 75 65 20 74 68 65 |nited . |true the|
|00000c80| 6e 0d 67 65 74 20 76 61 | 6c 75 65 20 6f 66 20 77 |n.get va|lue of w|
|00000c90| 6f 72 64 20 32 20 74 6f | 20 39 39 39 39 39 20 6f |ord 2 to| 99999 o|
|00000ca0| 66 20 6c 6f 6e 67 20 6e | 61 6d 65 20 6f 66 20 73 |f long n|ame of s|
|00000cb0| 74 61 63 6b 0d 69 6e 69 | 74 53 65 61 72 63 68 20 |tack.ini|tSearch |
|00000cc0| 69 74 0d 69 6e 73 74 61 | 6c 6c 4d 65 6e 75 73 0d |it.insta|llMenus.|
|00000cd0| 65 6e 64 20 69 66 0d 0d | 69 66 20 63 61 6e 74 4d |end if..|if cantM|
|00000ce0| 6f 64 69 66 79 20 6f 66 | 20 74 68 69 73 20 73 74 |odify of| this st|
|00000cf0| 61 63 6b 20 3d 20 74 72 | 75 65 20 74 68 65 6e 20 |ack = tr|ue then |
|00000d00| 73 65 74 20 74 68 65 20 | 75 73 65 72 4d 6f 64 69 |set the |userModi|
|00000d10| 66 79 20 74 6f 20 74 72 | 75 65 0d 0d 65 6e 64 20 |fy to tr|ue..end |
|00000d20| 6f 70 65 6e 53 74 61 63 | 6b 0d 0d 0d 0d 2d 2d 20 |openStac|k....-- |
|00000d30| 4f 6e 20 63 6c 6f 73 65 | 20 73 74 61 63 6b 2c 20 |On close| stack, |
|00000d40| 72 65 73 65 74 20 74 68 | 65 20 75 73 65 72 4d 6f |reset th|e userMo|
|00000d50| 64 69 66 79 20 70 72 6f | 70 65 72 74 79 0d d1 d1 |dify pro|perty...|
|00000d60| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000d70| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000d80| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000d90| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000da0| d1 d1 d1 d1 d1 2d 0d 6f | 6e 20 63 6c 6f 73 65 53 |.....-.o|n closeS|
|00000db0| 74 61 63 6b 0d 69 66 20 | 63 61 6e 74 4d 6f 64 69 |tack.if |cantModi|
|00000dc0| 66 79 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |fy of th|is stack|
|00000dd0| 20 3d 20 74 72 75 65 20 | 74 68 65 6e 20 73 65 74 | = true |then set|
|00000de0| 20 74 68 65 20 75 73 65 | 72 4d 6f 64 69 66 79 20 | the use|rModify |
|00000df0| 74 6f 20 66 61 6c 73 65 | 0d 65 6e 64 20 63 6c 6f |to false|.end clo|
|00000e00| 73 65 53 74 61 63 6b 0d | 0d 0d 0d 2d 2d 20 46 69 |seStack.|...-- Fi|
|00000e10| 6e 64 20 61 6e 64 20 69 | 6e 69 74 69 61 6c 69 7a |nd and i|nitializ|
|00000e20| 65 20 74 68 65 20 73 65 | 61 72 63 68 20 73 74 61 |e the se|arch sta|
|00000e30| 63 6b 0d d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |ck......|........|
|00000e40| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000e50| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000e60| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000e70| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 2d 0d 6f 6e 20 69 |........|..-.on i|
|00000e80| 6e 69 74 53 65 61 72 63 | 68 20 74 68 65 50 61 74 |nitSearc|h thePat|
|00000e90| 68 0d 0d 67 6c 6f 62 61 | 6c 20 42 72 6f 77 73 65 |h..globa|l Browse|
|00000ea0| 72 46 6f 6c 64 65 72 2c | 20 53 65 61 72 63 68 50 |rFolder,| SearchP|
|00000eb0| 61 74 68 2c 20 53 65 61 | 72 63 68 49 6e 69 74 65 |ath, Sea|rchInite|
|00000ec0| 64 0d 0d 69 66 20 74 68 | 65 50 61 74 68 20 69 73 |d..if th|ePath is|
|00000ed0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 c2 0d 70 75 | empty t|hen ..pu|
|00000ee0| 74 20 42 72 6f 77 73 65 | 72 46 6f 6c 64 65 72 20 |t Browse|rFolder |
|00000ef0| 26 20 22 53 75 70 70 6f | 72 74 20 66 69 6c 65 73 |& "Suppo|rt files|
|00000f00| 3a 53 65 61 72 63 68 22 | 20 69 6e 74 6f 20 74 68 |:Search"| into th|
|00000f10| 65 50 61 74 68 0d 0d 69 | 66 20 74 68 65 72 65 20 |ePath..i|f there |
|00000f20| 69 73 20 61 20 66 69 6c | 65 28 74 68 65 50 61 74 |is a fil|e(thePat|
|00000f30| 68 29 20 74 68 65 6e 0d | 70 75 74 20 74 68 65 50 |h) then.|put theP|
|00000f40| 61 74 68 20 69 6e 74 6f | 20 53 65 61 72 63 68 50 |ath into| SearchP|
|00000f50| 61 74 68 0d 73 74 61 72 | 74 20 75 73 69 6e 67 20 |ath.star|t using |
|00000f60| 73 74 61 63 6b 20 53 65 | 61 72 63 68 50 61 74 68 |stack Se|archPath|
|00000f70| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 53 |.put tru|e into S|
|00000f80| 65 61 72 63 68 49 6e 69 | 74 65 64 0d 65 6e 64 20 |earchIni|ted.end |
|00000f90| 69 66 0d 0d 65 6e 64 20 | 69 6e 69 74 53 65 61 72 |if..end |initSear|
|00000fa0| 63 68 0d 0d 0d 0d 2d 2d | 20 54 68 65 20 68 65 6c |ch....--| The hel|
|00000fb0| 70 43 61 72 64 20 68 61 | 6e 64 6c 65 72 20 74 65 |pCard ha|ndler te|
|00000fc0| 6c 6c 73 20 74 68 65 20 | 67 6f 48 65 6c 70 20 68 |lls the |goHelp h|
|00000fd0| 61 6e 64 6c 65 72 20 77 | 68 69 63 68 20 63 61 72 |andler w|hich car|
|00000fe0| 64 20 69 6e 20 74 68 65 | 0d 2d 2d 20 68 65 6c 70 |d in the|.-- help|
|00000ff0| 20 73 74 61 63 6b 20 74 | 6f 20 67 6f 20 74 6f 20 | stack t|o go to |
|00001000| 77 68 65 6e 20 74 68 65 | 20 75 73 65 72 20 73 65 |when the| user se|
|00001010| 6c 65 63 74 73 20 22 48 | 65 6c 70 22 20 66 72 6f |lects "H|elp" fro|
|00001020| 6d 20 74 68 65 20 6d 65 | 6e 75 2e 0d d1 d1 d1 d1 |m the me|nu......|
|00001030| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00001040| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00001050| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00001060| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00001070| d1 d1 d1 d1 0d 6f 6e 20 | 68 65 6c 70 43 61 72 64 |.....on |helpCard|
|00001080| 0d 72 65 74 75 72 6e 20 | 22 73 65 61 72 63 68 69 |.return |"searchi|
|00001090| 6e 67 20 64 6f 63 75 6d | 65 6e 74 73 22 0d 65 6e |ng docum|ents".en|
|000010a0| 64 20 68 65 6c 70 43 61 | 72 64 0d 0d 0d 0d 2d 2d |d helpCa|rd....--|
|000010b0| 20 46 69 6e 64 20 26 20 | 73 65 6c 65 63 74 20 74 | Find & |select t|
|000010c0| 68 65 20 6e 65 78 74 20 | 68 69 74 20 69 6e 20 74 |he next |hit in t|
|000010d0| 68 65 20 68 69 74 20 6c | 69 73 74 0d d1 d1 d1 d1 |he hit l|ist.....|
|000010e0| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|000010f0| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00001100| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00001110| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00001120| d1 d1 d1 0d 6f 6e 20 67 | 6f 48 69 74 20 77 68 65 |....on g|oHit whe|
|00001130| 72 65 0d 0d 67 6c 6f 62 | 61 6c 20 48 69 74 4c 69 |re..glob|al HitLi|
|00001140| 73 74 2c 20 48 69 74 50 | 6f 69 6e 74 65 72 2c 20 |st, HitP|ointer, |
|00001150| 48 69 74 43 6f 75 6e 74 | 2c 20 48 69 74 43 61 72 |HitCount|, HitCar|
|00001160| 64 43 6f 75 6e 74 2c 20 | c2 0d 48 69 74 44 6f 63 |dCount, |..HitDoc|
|00001170| 4f 66 66 73 65 74 73 2c | 20 42 72 6f 77 73 65 72 |Offsets,| Browser|
|00001180| 46 6f 6c 64 65 72 0d 0d | 2d 2d 20 49 66 20 74 68 |Folder..|-- If th|
|00001190| 65 72 65 20 61 72 65 20 | 6e 6f 20 68 69 74 73 2c |ere are |no hits,|
|000011a0| 20 64 6f 20 6e 6f 74 68 | 69 6e 67 20 28 73 68 6f | do noth|ing (sho|
|000011b0| 75 6c 64 6e 27 74 20 68 | 61 70 70 65 6e 29 0d 0d |uldn't h|appen)..|
|000011c0| 69 66 20 48 69 74 43 61 | 72 64 43 6f 75 6e 74 20 |if HitCa|rdCount |
|000011d0| 3d 20 30 20 74 68 65 6e | 20 65 78 69 74 20 67 6f |= 0 then| exit go|
|000011e0| 48 69 74 0d 0d 2d 2d 20 | 41 64 6a 75 73 74 20 74 |Hit..-- |Adjust t|
|000011f0| 68 65 20 68 69 74 20 6c | 69 73 74 20 70 6f 69 6e |he hit l|ist poin|
|00001200| 74 65 72 2c 20 61 63 63 | 6f 72 64 69 6e 67 20 74 |ter, acc|ording t|
|00001210| 6f 20 74 68 65 20 22 77 | 68 65 72 65 22 20 70 61 |o the "w|here" pa|
|00001220| 72 61 6d 65 74 65 72 0d | 0d 69 66 20 77 68 65 72 |rameter.|.if wher|
|00001230| 65 20 3d 20 22 6e 65 78 | 74 22 20 74 68 65 6e 20 |e = "nex|t" then |
|00001240| 61 64 64 20 31 20 74 6f | 20 48 69 74 50 6f 69 6e |add 1 to| HitPoin|
|00001250| 74 65 72 0d 65 6c 73 65 | 20 69 66 20 77 68 65 72 |ter.else| if wher|
|00001260| 65 20 3d 20 22 70 72 65 | 76 22 20 74 68 65 6e 20 |e = "pre|v" then |
|00001270| 73 75 62 74 72 61 63 74 | 20 31 20 66 72 6f 6d 20 |subtract| 1 from |
|00001280| 48 69 74 50 6f 69 6e 74 | 65 72 0d 65 6c 73 65 20 |HitPoint|er.else |
|00001290| 70 75 74 20 77 68 65 72 | 65 20 69 6e 74 6f 20 48 |put wher|e into H|
|000012a0| 69 74 50 6f 69 6e 74 65 | 72 0d 0d 2d 2d 20 52 65 |itPointe|r..-- Re|
|000012b0| 6d 65 6d 62 65 72 20 69 | 66 20 74 68 65 20 75 73 |member i|f the us|
|000012c0| 65 72 20 69 73 20 61 74 | 74 65 6d 70 74 69 6e 67 |er is at|tempting|
|000012d0| 20 74 6f 20 67 6f 20 62 | 65 79 6f 6e 64 20 66 69 | to go b|eyond fi|
|000012e0| 72 73 74 20 6f 72 20 6c | 61 73 74 20 68 69 74 0d |rst or l|ast hit.|
|000012f0| 0d 69 66 20 48 69 74 50 | 6f 69 6e 74 65 72 20 3e |.if HitP|ointer >|
|00001300| 20 48 69 74 43 6f 75 6e | 74 20 74 68 65 6e 0d 70 | HitCoun|t then.p|
|00001310| 75 74 20 48 69 74 43 6f | 75 6e 74 20 69 6e 74 6f |ut HitCo|unt into|
|00001320| 20 48 69 74 50 6f 69 6e | 74 65 72 0d 70 75 74 20 | HitPoin|ter.put |
|00001330| 22 66 69 72 73 74 22 20 | 69 6e 74 6f 20 77 72 61 |"first" |into wra|
|00001340| 70 54 6f 0d 65 6c 73 65 | 20 69 66 20 48 69 74 50 |pTo.else| if HitP|
|00001350| 6f 69 6e 74 65 72 20 3c | 20 31 20 74 68 65 6e 0d |ointer <| 1 then.|
|00001360| 70 75 74 20 31 20 69 6e | 74 6f 20 48 69 74 50 6f |put 1 in|to HitPo|
|00001370| 69 6e 74 65 72 0d 70 75 | 74 20 22 6c 61 73 74 22 |inter.pu|t "last"|
|00001380| 20 69 6e 74 6f 20 77 72 | 61 70 54 6f 0d 65 6c 73 | into wr|apTo.els|
|00001390| 65 20 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e put em|pty into|
|000013a0| 20 77 72 61 70 54 6f 0d | 0d 2d 2d 20 47 65 74 20 | wrapTo.|.-- Get |
|000013b0| 74 68 65 20 6c 6f 63 61 | 74 69 6f 6e 20 6f 66 20 |the loca|tion of |
|000013c0| 74 68 65 20 68 69 74 2e | 20 54 68 65 20 66 6f 72 |the hit.| The for|
|000013d0| 6d 61 74 20 6f 66 20 65 | 61 63 68 20 6c 69 6e 65 |mat of e|ach line|
|000013e0| 20 69 6e 20 74 68 65 20 | 68 69 74 0d 2d 2d 20 6c | in the |hit.-- l|
|000013f0| 69 73 74 20 69 73 3a 20 | 63 61 72 64 23 20 73 74 |ist is: |card# st|
|00001400| 61 63 6b 23 20 66 69 65 | 6c 64 23 20 70 61 72 61 |ack# fie|ld# para|
|00001410| 67 72 61 70 68 23 20 77 | 6f 72 64 23 0d 0d 70 75 |graph# w|ord#..pu|
|00001420| 74 20 6c 69 6e 65 20 48 | 69 74 50 6f 69 6e 74 65 |t line H|itPointe|
|00001430| 72 20 6f 66 20 48 69 74 | 4c 69 73 74 20 69 6e 74 |r of Hit|List int|
|00001440| 6f 20 68 69 74 44 65 73 | 63 72 69 70 74 6f 72 0d |o hitDes|criptor.|
|00001450| 70 75 74 20 77 6f 72 64 | 20 31 20 6f 66 20 68 69 |put word| 1 of hi|
|00001460| 74 44 65 73 63 72 69 70 | 74 6f 72 20 69 6e 74 6f |tDescrip|tor into|
|00001470| 20 68 69 74 43 61 72 64 | 4e 75 6d 62 65 72 0d 0d | hitCard|Number..|
|00001480| 2d 2d 20 47 65 74 20 74 | 68 65 20 73 74 61 63 6b |-- Get t|he stack|
|00001490| 20 70 61 74 68 20 63 6f | 72 72 65 73 70 6f 6e 64 | path co|rrespond|
|000014a0| 69 6e 67 20 74 6f 20 74 | 68 65 20 68 69 74 20 70 |ing to t|he hit p|
|000014b0| 6f 69 6e 74 65 72 0d 0d | 72 65 70 65 61 74 20 77 |ointer..|repeat w|
|000014c0| 69 74 68 20 6f 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith o = |1 to num|
|000014d0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|000014e0| 48 69 74 44 6f 63 4f 66 | 66 73 65 74 73 0d 69 66 |HitDocOf|fsets.if|
|000014f0| 20 69 74 65 6d 20 32 20 | 6f 66 20 6c 69 6e 65 20 | item 2 |of line |
|00001500| 6f 20 6f 66 20 48 69 74 | 44 6f 63 4f 66 66 73 65 |o of Hit|DocOffse|
|00001510| 74 73 20 3e 20 48 69 74 | 50 6f 69 6e 74 65 72 20 |ts > Hit|Pointer |
|00001520| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|00001530| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00001540| 69 74 65 6d 20 33 20 6f | 66 20 6c 69 6e 65 20 6f |item 3 o|f line o|
|00001550| 20 2d 20 31 20 6f 66 20 | 48 69 74 44 6f 63 4f 66 | - 1 of |HitDocOf|
|00001560| 66 73 65 74 73 20 69 6e | 74 6f 20 73 74 61 63 6b |fsets in|to stack|
|00001570| 50 61 74 68 0d 0d 2d 2d | 20 47 6f 20 74 6f 20 74 |Path..--| Go to t|
|00001580| 68 65 20 63 61 72 64 20 | 63 6f 6e 74 61 69 6e 69 |he card |containi|
|00001590| 6e 67 20 74 68 65 20 68 | 69 74 20 28 69 66 20 6e |ng the h|it (if n|
|000015a0| 6f 74 20 61 6c 72 65 61 | 64 79 20 6f 6e 20 69 74 |ot alrea|dy on it|
|000015b0| 29 0d 0d 69 66 20 74 68 | 65 20 6c 6f 63 6b 73 63 |)..if th|e locksc|
|000015c0| 72 65 65 6e 20 69 73 20 | 74 72 75 65 20 74 68 65 |reen is |true the|
|000015d0| 6e 20 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |n unlock| screen.|
|000015e0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 67 6f 20 |.lock sc|reen.go |
|000015f0| 63 64 20 68 69 74 43 61 | 72 64 4e 75 6d 62 65 72 |cd hitCa|rdNumber|
|00001600| 20 6f 66 20 73 74 61 63 | 6b 20 73 74 61 63 6b 50 | of stac|k stackP|
|00001610| 61 74 68 20 69 6e 20 61 | 20 6e 65 77 20 77 69 6e |ath in a| new win|
|00001620| 64 6f 77 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |dow.if t|he resul|
|00001630| 74 20 69 73 20 22 6e 6f | 20 73 75 63 68 20 63 61 |t is "no| such ca|
|00001640| 72 64 22 20 74 68 65 6e | 20 65 78 69 74 20 67 6f |rd" then| exit go|
|00001650| 48 69 74 20 2d 2d 20 73 | 68 6f 75 6c 64 6e 27 74 |Hit -- s|houldn't|
|00001660| 20 68 61 70 70 65 6e 0d | 75 6e 6c 6f 63 6b 20 73 | happen.|unlock s|
|00001670| 63 72 65 65 6e 0d 0d 2d | 2d 20 47 65 74 20 74 68 |creen..-|- Get th|
|00001680| 65 20 63 68 61 72 61 63 | 74 65 72 20 72 61 6e 67 |e charac|ter rang|
|00001690| 65 20 6f 66 20 74 68 65 | 20 68 69 74 0d 0d 70 75 |e of the| hit..pu|
|000016a0| 74 20 4b 52 53 43 6f 75 | 6e 74 43 68 61 72 73 28 |t KRSCou|ntChars(|
|000016b0| 62 67 20 66 6c 64 20 28 | 77 6f 72 64 20 33 20 6f |bg fld (|word 3 o|
|000016c0| 66 20 68 69 74 44 65 73 | 63 72 69 70 74 6f 72 29 |f hitDes|criptor)|
|000016d0| 2c 20 c2 0d 77 6f 72 64 | 20 35 20 6f 66 20 68 69 |, ..word| 5 of hi|
|000016e0| 74 44 65 73 63 72 69 70 | 74 6f 72 29 20 69 6e 74 |tDescrip|tor) int|
|000016f0| 6f 20 68 69 74 43 68 61 | 72 52 61 6e 67 65 0d 0d |o hitCha|rRange..|
|00001700| 2d 2d 20 48 69 67 68 6c | 69 67 68 74 20 74 68 65 |-- Highl|ight the|
|00001710| 20 68 69 74 0d 0d 73 65 | 6c 65 63 74 20 63 68 61 | hit..se|lect cha|
|00001720| 72 20 28 77 6f 72 64 20 | 31 20 6f 66 20 68 69 74 |r (word |1 of hit|
|00001730| 43 68 61 72 52 61 6e 67 | 65 29 20 74 6f 20 28 77 |CharRang|e) to (w|
|00001740| 6f 72 64 20 32 20 6f 66 | 20 68 69 74 43 68 61 72 |ord 2 of| hitChar|
|00001750| 52 61 6e 67 65 29 20 c2 | 0d 6f 66 20 66 6c 64 20 |Range) .|.of fld |
|00001760| 28 77 6f 72 64 20 33 20 | 6f 66 20 68 69 74 44 65 |(word 3 |of hitDe|
|00001770| 73 63 72 69 70 74 6f 72 | 29 0d 0d 2d 2d 20 49 66 |scriptor|)..-- If|
|00001780| 20 74 68 65 20 75 73 65 | 72 20 74 72 69 65 64 20 | the use|r tried |
|00001790| 74 6f 20 67 6f 20 62 65 | 79 6f 6e 64 20 74 68 65 |to go be|yond the|
|000017a0| 20 68 69 74 20 6c 69 73 | 74 2c 20 6c 65 74 20 27 | hit lis|t, let '|
|000017b0| 65 6d 20 77 72 61 70 0d | 0d 69 66 20 77 72 61 70 |em wrap.|.if wrap|
|000017c0| 54 6f 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |To is em|pty then|
|000017d0| 20 65 78 69 74 20 67 6f | 48 69 74 0d 0d 69 66 20 | exit go|Hit..if |
|000017e0| 77 72 61 70 54 6f 20 3d | 20 22 66 69 72 73 74 22 |wrapTo =| "first"|
|000017f0| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 54 68 | then.an|swer "Th|
|00001800| 69 73 20 77 61 73 20 74 | 68 65 20 6c 61 73 74 20 |is was t|he last |
|00001810| 6d 61 74 63 68 20 6f 66 | 20 74 68 65 20 63 75 72 |match of| the cur|
|00001820| 72 65 6e 74 20 73 65 61 | 72 63 68 2e 22 20 c2 0d |rent sea|rch." ..|
|00001830| 77 69 74 68 20 22 43 61 | 6e 63 65 6c 22 20 6f 72 |with "Ca|ncel" or|
|00001840| 20 22 4e 65 77 20 53 65 | 61 72 63 68 22 20 6f 72 | "New Se|arch" or|
|00001850| 20 22 46 69 72 73 74 20 | 6d 61 74 63 68 22 0d 0d | "First |match"..|
|00001860| 65 6c 73 65 20 69 66 20 | 77 72 61 70 54 6f 20 3d |else if |wrapTo =|
|00001870| 20 22 6c 61 73 74 22 20 | 74 68 65 6e 0d 61 6e 73 | "last" |then.ans|
|00001880| 77 65 72 20 22 54 68 69 | 73 20 77 61 73 20 74 68 |wer "Thi|s was th|
|00001890| 65 20 66 69 72 73 74 20 | 6d 61 74 63 68 20 6f 66 |e first |match of|
|000018a0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 65 61 | the cur|rent sea|
|000018b0| 72 63 68 2e 22 20 c2 0d | 77 69 74 68 20 22 43 61 |rch." ..|with "Ca|
|000018c0| 6e 63 65 6c 22 20 6f 72 | 20 22 4e 65 77 20 53 65 |ncel" or| "New Se|
|000018d0| 61 72 63 68 22 20 6f 72 | 20 22 4c 61 73 74 20 6d |arch" or| "Last m|
|000018e0| 61 74 63 68 22 0d 65 6e | 64 20 69 66 0d 0d 69 66 |atch".en|d if..if|
|000018f0| 20 69 74 20 69 73 20 22 | 66 69 72 73 74 20 6d 61 | it is "|first ma|
|00001900| 74 63 68 22 20 74 68 65 | 6e 20 67 6f 48 69 74 20 |tch" the|n goHit |
|00001910| 31 0d 65 6c 73 65 20 69 | 66 20 69 74 20 69 73 20 |1.else i|f it is |
|00001920| 22 6c 61 73 74 20 6d 61 | 74 63 68 22 20 74 68 65 |"last ma|tch" the|
|00001930| 6e 20 67 6f 48 69 74 20 | 48 69 74 43 6f 75 6e 74 |n goHit |HitCount|
|00001940| 0d 65 6c 73 65 20 69 66 | 20 69 74 20 69 73 20 22 |.else if| it is "|
|00001950| 6e 65 77 20 73 65 61 72 | 63 68 22 20 74 68 65 6e |new sear|ch" then|
|00001960| 20 67 6f 20 73 74 61 63 | 6b 20 c2 0d 42 72 6f 77 | go stac|k ..Brow|
|00001970| 73 65 72 46 6f 6c 64 65 | 72 20 26 20 22 53 75 70 |serFolde|r & "Sup|
|00001980| 70 6f 72 74 20 66 69 6c | 65 73 3a 53 65 61 72 63 |port fil|es:Searc|
|00001990| 68 22 20 69 6e 20 61 20 | 6e 65 77 20 77 69 6e 64 |h" in a |new wind|
|000019a0| 6f 77 0d 73 65 6e 64 20 | 6f 70 65 6e 63 61 72 64 |ow.send |opencard|
|000019b0| 20 74 6f 20 73 74 61 63 | 6b 20 42 72 6f 77 73 65 | to stac|k Browse|
|000019c0| 72 46 6f 6c 64 65 72 20 | 26 20 22 53 75 70 70 6f |rFolder |& "Suppo|
|000019d0| 72 74 20 66 69 6c 65 73 | 3a 53 65 61 72 63 68 22 |rt files|:Search"|
|000019e0| 0d 0d 65 6e 64 20 67 6f | 48 69 74 0d 0d 0d 0d 2d |..end go|Hit....-|
|000019f0| 2d 20 53 61 76 65 20 74 | 68 65 20 63 61 72 64 20 |- Save t|he card |
|00001a00| 73 74 61 74 65 0d 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |state.__|________|
|00001a10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001a20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001a30| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001a40| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 0d 6f 6e |________|_____.on|
|00001a50| 20 73 61 76 65 53 74 61 | 74 65 0d 0d 67 6c 6f 62 | saveSta|te..glob|
|00001a60| 61 6c 20 53 65 61 72 63 | 68 43 61 72 64 53 74 61 |al Searc|hCardSta|
|00001a70| 74 65 0d 0d 2d 2d 20 52 | 65 6d 65 6d 62 65 72 20 |te..-- R|emember |
|00001a80| 74 68 65 20 63 61 72 64 | 20 73 74 61 74 65 0d 0d |the card| state..|
|00001a90| 70 75 74 20 63 64 20 66 | 6c 64 20 22 74 65 72 6d |put cd f|ld "term|
|00001aa0| 31 22 20 26 20 72 65 74 | 75 72 6e 20 c2 0d 26 20 |1" & ret|urn ..& |
|00001ab0| 63 64 20 66 6c 64 20 22 | 74 65 72 6d 32 22 20 26 |cd fld "|term2" &|
|00001ac0| 20 72 65 74 75 72 6e 20 | c2 0d 26 20 63 64 20 66 | return |..& cd f|
|00001ad0| 6c 64 20 22 74 65 72 6d | 33 22 20 26 20 72 65 74 |ld "term|3" & ret|
|00001ae0| 75 72 6e 20 c2 0d 26 20 | 63 64 20 66 6c 64 20 22 |urn ..& |cd fld "|
|00001af0| 77 69 74 68 69 6e 22 20 | 26 20 72 65 74 75 72 6e |within" |& return|
|00001b00| 20 c2 0d 26 20 63 64 20 | 66 6c 64 20 22 69 6e 4e | ..& cd |fld "inN|
|00001b10| 6f 74 49 6e 22 20 26 20 | 72 65 74 75 72 6e 20 c2 |otIn" & |return .|
|00001b20| 0d 26 20 63 64 20 66 6c | 64 20 22 73 65 63 74 69 |.& cd fl|d "secti|
|00001b30| 6f 6e 50 61 72 61 67 72 | 61 70 68 22 20 26 20 72 |onParagr|aph" & r|
|00001b40| 65 74 75 72 6e 20 c2 0d | 26 20 63 64 20 66 6c 64 |eturn ..|& cd fld|
|00001b50| 20 22 77 69 74 68 69 6e | 4e 6f 74 57 69 74 68 69 | "within|NotWithi|
|00001b60| 6e 22 20 26 20 72 65 74 | 75 72 6e 20 c2 0d 26 20 |n" & ret|urn ..& |
|00001b70| 63 64 20 66 6c 64 20 22 | 73 65 61 72 63 68 44 6f |cd fld "|searchDo|
|00001b80| 63 73 22 20 26 20 72 65 | 74 75 72 6e 20 c2 0d 26 |cs" & re|turn ..&|
|00001b90| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|00001ba0| 6e 20 22 74 65 78 74 22 | 20 26 20 72 65 74 75 72 |n "text"| & retur|
|00001bb0| 6e 20 c2 0d 26 20 68 69 | 6c 69 74 65 20 6f 66 20 |n ..& hi|lite of |
|00001bc0| 63 64 20 62 74 6e 20 22 | 74 69 74 6c 65 73 22 20 |cd btn "|titles" |
|00001bd0| 26 20 72 65 74 75 72 6e | 20 c2 0d 26 20 63 64 20 |& return| ..& cd |
|00001be0| 66 6c 64 20 22 74 69 74 | 6c 65 31 22 20 26 20 72 |fld "tit|le1" & r|
|00001bf0| 65 74 75 72 6e 20 c2 0d | 26 20 63 64 20 66 6c 64 |eturn ..|& cd fld|
|00001c00| 20 22 70 61 6e 65 31 22 | 20 69 6e 74 6f 20 53 65 | "pane1"| into Se|
|00001c10| 61 72 63 68 43 61 72 64 | 53 74 61 74 65 0d 0d 65 |archCard|State..e|
|00001c20| 6e 64 20 73 61 76 65 53 | 74 61 74 65 0d 0d 0d 2d |nd saveS|tate...-|
|00001c30| 2d 20 52 65 73 74 6f 72 | 65 20 74 68 65 20 63 61 |- Restor|e the ca|
|00001c40| 72 64 20 73 74 61 74 65 | 20 66 72 6f 6d 20 67 6c |rd state| from gl|
|00001c50| 6f 62 61 6c 73 0d 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |obals.__|________|
|00001c60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001c70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001c80| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001c90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 0d 6f 6e |________|_____.on|
|00001ca0| 20 72 65 73 74 6f 72 65 | 53 74 61 74 65 0d 0d 67 | restore|State..g|
|00001cb0| 6c 6f 62 61 6c 20 53 65 | 61 72 63 68 43 61 72 64 |lobal Se|archCard|
|00001cc0| 53 74 61 74 65 2c 20 48 | 69 74 44 6f 63 4f 66 66 |State, H|itDocOff|
|00001cd0| 73 65 74 73 0d 0d 69 66 | 20 53 65 61 72 63 68 43 |sets..if| SearchC|
|00001ce0| 61 72 64 53 74 61 74 65 | 20 69 73 20 6e 6f 74 20 |ardState| is not |
|00001cf0| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 6c |empty th|en.put l|
|00001d00| 69 6e 65 20 31 20 6f 66 | 20 53 65 61 72 63 68 43 |ine 1 of| SearchC|
|00001d10| 61 72 64 53 74 61 74 65 | 20 69 6e 74 6f 20 63 64 |ardState| into cd|
|00001d20| 20 66 6c 64 20 22 74 65 | 72 6d 31 22 0d 70 75 74 | fld "te|rm1".put|
|00001d30| 20 6c 69 6e 65 20 32 20 | 6f 66 20 53 65 61 72 63 | line 2 |of Searc|
|00001d40| 68 43 61 72 64 53 74 61 | 74 65 20 69 6e 74 6f 20 |hCardSta|te into |
|00001d50| 63 64 20 66 6c 64 20 22 | 74 65 72 6d 32 22 0d 70 |cd fld "|term2".p|
|00001d60| 75 74 20 6c 69 6e 65 20 | 33 20 6f 66 20 53 65 61 |ut line |3 of Sea|
|00001d70| 72 63 68 43 61 72 64 53 | 74 61 74 65 20 69 6e 74 |rchCardS|tate int|
|00001d80| 6f 20 63 64 20 66 6c 64 | 20 22 74 65 72 6d 33 22 |o cd fld| "term3"|
|00001d90| 0d 70 75 74 20 6c 69 6e | 65 20 34 20 6f 66 20 53 |.put lin|e 4 of S|
|00001da0| 65 61 72 63 68 43 61 72 | 64 53 74 61 74 65 20 69 |earchCar|dState i|
|00001db0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 77 69 74 68 |nto cd f|ld "with|
|00001dc0| 69 6e 22 0d 70 75 74 20 | 6c 69 6e 65 20 35 20 6f |in".put |line 5 o|
|00001dd0| 66 20 53 65 61 72 63 68 | 43 61 72 64 53 74 61 74 |f Search|CardStat|
|00001de0| 65 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 69 |e into c|d fld "i|
|00001df0| 6e 4e 6f 74 49 6e 22 0d | 70 75 74 20 6c 69 6e 65 |nNotIn".|put line|
|00001e00| 20 36 20 6f 66 20 53 65 | 61 72 63 68 43 61 72 64 | 6 of Se|archCard|
|00001e10| 53 74 61 74 65 20 69 6e | 74 6f 20 63 64 20 66 6c |State in|to cd fl|
|00001e20| 64 20 22 73 65 63 74 69 | 6f 6e 50 61 72 61 67 72 |d "secti|onParagr|
|00001e30| 61 70 68 22 0d 70 75 74 | 20 6c 69 6e 65 20 37 20 |aph".put| line 7 |
|00001e40| 6f 66 20 53 65 61 72 63 | 68 43 61 72 64 53 74 61 |of Searc|hCardSta|
|00001e50| 74 65 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 22 |te into |cd fld "|
|00001e60| 77 69 74 68 69 6e 4e 6f | 74 57 69 74 68 69 6e 22 |withinNo|tWithin"|
|00001e70| 0d 70 75 74 20 6c 69 6e | 65 20 38 20 6f 66 20 53 |.put lin|e 8 of S|
|00001e80| 65 61 72 63 68 43 61 72 | 64 53 74 61 74 65 20 69 |earchCar|dState i|
|00001e90| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 73 65 61 72 |nto cd f|ld "sear|
|00001ea0| 63 68 44 6f 63 73 22 0d | 69 66 20 6c 69 6e 65 20 |chDocs".|if line |
|00001eb0| 39 20 6f 66 20 53 65 61 | 72 63 68 43 61 72 64 53 |9 of Sea|rchCardS|
|00001ec0| 74 61 74 65 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |tate is |not empt|
|00001ed0| 79 20 74 68 65 6e 20 c2 | 0d 73 65 74 20 68 69 6c |y then .|.set hil|
|00001ee0| 69 74 65 20 6f 66 20 63 | 64 20 62 74 6e 20 22 74 |ite of c|d btn "t|
|00001ef0| 65 78 74 22 20 74 6f 20 | 28 6c 69 6e 65 20 39 20 |ext" to |(line 9 |
|00001f00| 6f 66 20 53 65 61 72 63 | 68 43 61 72 64 53 74 61 |of Searc|hCardSta|
|00001f10| 74 65 20 3d 20 74 72 75 | 65 29 0d 69 66 20 6c 69 |te = tru|e).if li|
|00001f20| 6e 65 20 31 30 20 6f 66 | 20 53 65 61 72 63 68 43 |ne 10 of| SearchC|
|00001f30| 61 72 64 53 74 61 74 65 | 20 69 73 20 6e 6f 74 20 |ardState| is not |
|00001f40| 65 6d 70 74 79 20 74 68 | 65 6e 20 c2 0d 73 65 74 |empty th|en ..set|
|00001f50| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|00001f60| 6e 20 22 74 69 74 6c 65 | 73 22 20 74 6f 20 28 6c |n "title|s" to (l|
|00001f70| 69 6e 65 20 31 30 20 6f | 66 20 53 65 61 72 63 68 |ine 10 o|f Search|
|00001f80| 43 61 72 64 53 74 61 74 | 65 20 20 3d 20 74 72 75 |CardStat|e = tru|
|00001f90| 65 29 0d 70 75 74 20 6c | 69 6e 65 20 31 31 20 6f |e).put l|ine 11 o|
|00001fa0| 66 20 53 65 61 72 63 68 | 43 61 72 64 53 74 61 74 |f Search|CardStat|
|00001fb0| 65 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 74 |e into c|d fld "t|
|00001fc0| 69 74 6c 65 31 22 0d 0d | 70 75 74 20 6c 69 6e 65 |itle1"..|put line|
|00001fd0| 20 31 32 20 74 6f 20 39 | 39 39 39 39 20 6f 66 20 | 12 to 9|9999 of |
|00001fe0| 53 65 61 72 63 68 43 61 | 72 64 53 74 61 74 65 20 |SearchCa|rdState |
|00001ff0| 69 6e 74 6f 20 74 69 74 | 6c 65 4c 69 73 74 0d 70 |into tit|leList.p|
|00002000| 75 74 20 74 69 74 6c 65 | 4c 69 73 74 20 69 6e 74 |ut title|List int|
|00002010| 6f 20 63 64 20 66 6c 64 | 20 22 70 61 6e 65 31 22 |o cd fld| "pane1"|
|00002020| 0d 65 6e 64 20 69 66 0d | 0d 72 65 70 65 61 74 20 |.end if.|.repeat |
|00002030| 77 69 74 68 20 6c 20 3d | 20 31 20 74 6f 20 6e 75 |with l =| 1 to nu|
|00002040| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|00002050| 20 48 69 74 44 6f 63 4f | 66 66 73 65 74 73 0d 70 | HitDocO|ffsets.p|
|00002060| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 6c 69 6e |ut item |1 of lin|
|00002070| 65 20 6c 20 6f 66 20 48 | 69 74 44 6f 63 4f 66 66 |e l of H|itDocOff|
|00002080| 73 65 74 73 20 69 6e 74 | 6f 20 6c 69 6e 65 4e 75 |sets int|o lineNu|
|00002090| 6d 0d 73 65 74 20 74 65 | 78 74 53 74 79 6c 65 20 |m.set te|xtStyle |
|000020a0| 6f 66 20 63 68 61 72 20 | 31 20 74 6f 20 6f 66 66 |of char |1 to off|
|000020b0| 73 65 74 28 22 28 22 2c | 6c 69 6e 65 20 6c 69 6e |set("(",|line lin|
|000020c0| 65 4e 75 6d 20 6f 66 20 | 74 69 74 6c 65 4c 69 73 |eNum of |titleLis|
|000020d0| 74 29 20 2d 20 32 20 c2 | 0d 6f 66 20 6c 69 6e 65 |t) - 2 .|.of line|
|000020e0| 20 6c 69 6e 65 4e 75 6d | 20 6f 66 20 63 64 20 66 | lineNum| of cd f|
|000020f0| 6c 64 20 22 70 61 6e 65 | 31 22 20 74 6f 20 75 6e |ld "pane|1" to un|
|00002100| 64 65 72 6c 69 6e 65 0d | 65 6e 64 20 72 65 70 65 |derline.|end repe|
|00002110| 61 74 0d 0d 65 6e 64 20 | 72 65 73 74 6f 72 65 53 |at..end |restoreS|
|00002120| 74 61 74 65 0d 0d 0d 0d | 2d 2d 20 45 6e 61 62 6c |tate....|-- Enabl|
|00002130| 65 2f 64 69 73 61 62 6c | 65 20 61 70 70 72 6f 70 |e/disabl|e approp|
|00002140| 72 69 61 74 65 20 73 65 | 61 72 63 68 20 6d 65 6e |riate se|arch men|
|00002150| 75 20 69 74 65 6d 73 0d | 5f 5f 5f 5f 5f 5f 5f 5f |u items.|________|
|00002160| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002170| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002180| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002190| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 0d |________|_______.|
|000021a0| 6f 6e 20 65 6e 61 62 6c | 65 53 65 61 72 63 68 4d |on enabl|eSearchM|
|000021b0| 65 6e 75 73 0d 0d 67 6c | 6f 62 61 6c 20 48 69 74 |enus..gl|obal Hit|
|000021c0| 4c 69 73 74 0d 0d 67 65 | 74 20 48 69 74 4c 69 73 |List..ge|t HitLis|
|000021d0| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 0d 73 |t is not| empty.s|
|000021e0| 65 74 20 65 6e 61 62 6c | 65 64 20 6f 66 20 6d 65 |et enabl|ed of me|
|000021f0| 6e 75 49 74 65 6d 20 22 | 6e 65 78 74 20 6d 61 74 |nuItem "|next mat|
|00002200| 63 68 22 20 6f 66 20 6d | 65 6e 75 20 22 62 72 6f |ch" of m|enu "bro|
|00002210| 77 73 65 72 22 20 74 6f | 20 69 74 0d 73 65 74 20 |wser" to| it.set |
|00002220| 65 6e 61 62 6c 65 64 20 | 6f 66 20 6d 65 6e 75 49 |enabled |of menuI|
|00002230| 74 65 6d 20 22 70 72 65 | 76 20 6d 61 74 63 68 22 |tem "pre|v match"|
|00002240| 20 6f 66 20 6d 65 6e 75 | 20 22 62 72 6f 77 73 65 | of menu| "browse|
|00002250| 72 22 20 74 6f 20 69 74 | 0d 0d 65 6e 64 20 65 6e |r" to it|..end en|
|00002260| 61 62 6c 65 53 65 61 72 | 63 68 4d 65 6e 75 73 0d |ableSear|chMenus.|
|00002270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002280| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00002290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022a0| 00 00 00 00 00 00 00 00 | 00 01 64 e8 00 01 20 c2 |........|..d... .|
|000022b0| 00 03 99 43 00 03 9c 8b | 00 01 24 91 00 00 00 00 |...C....|..$.....|
|000022c0| 00 00 00 00 00 05 b2 14 | 00 03 7d de 00 00 00 00 |........|..}.....|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002480| 00 00 00 80 4c 49 53 54 | 00 00 0b c2 00 00 00 00 |....LIST|........|
|00002490| 00 00 00 01 00 00 08 00 | 00 00 00 01 00 54 00 02 |........|.....T..|
|000024a0| 00 14 00 03 20 00 01 d3 | 00 00 00 01 00 00 00 00 |.... ...|........|
|000024b0| 00 00 0e 91 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002500| 00 00 08 00 50 41 47 45 | 00 00 0e 91 00 00 00 00 |....PAGE|........|
|00002510| 00 00 0b c2 80 00 02 22 | 00 00 11 14 60 6c 88 b1 |......."|....`l..|
|00002520| 03 25 92 99 04 a2 10 34 | 02 00 e8 04 65 08 00 00 |.%.....4|....e...|
|00002530| 02 84 81 21 10 2a 27 20 | e2 29 a2 81 c4 35 12 10 |...!.*' |.)...5..|
|00002540| 00 83 82 22 a0 35 c1 c8 | 74 38 40 04 31 88 80 46 |...".5..|t8@.1..F|
|00002550| ca b2 94 6a a1 14 48 44 | 4d 4a 00 00 00 01 14 81 |...j..HD|MJ......|
|00002560| 3a 44 68 44 93 a0 48 30 | 86 09 76 1d 00 00 00 00 |:DhD..H0|..v.....|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 40 42 4b 47 44 | 00 00 0a e8 00 00 00 00 |...@BKGD|........|
|00002d10| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 0a e8 |........|........|
|00002d20| 00 00 0a e8 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 42 e0 46 52 45 45 | 00 00 00 00 00 00 00 00 |..B.FREE|........|
|00002d50| 0f 46 72 65 65 20 4f 62 | 6a 65 63 74 20 20 20 20 |.Free Ob|ject |
|00002d60| 00 00 0e 91 00 00 0a e8 | 00 10 00 48 00 00 0d 56 |........|...H...V|
|00002d70| 00 07 00 00 04 f0 03 62 | 00 10 02 25 00 7d 00 0c |.......b|...%.}..|
|00002d80| 02 3a 01 c1 20 07 00 00 | 00 00 00 00 00 03 00 0a |.:.. ...|........|
|00002d90| 00 00 00 0d 70 61 6e 65 | 31 00 00 0d 2d 2d 20 47 |....pane|1...-- G|
|00002da0| 65 74 20 74 68 65 20 66 | 69 72 73 74 20 68 69 74 |et the f|irst hit|
|00002db0| 20 6f 6e 20 74 68 65 20 | 63 6c 69 63 6b 65 64 20 | on the |clicked |
|00002dc0| 63 61 72 64 3b 20 67 6f | 20 74 68 65 72 65 20 61 |card; go| there a|
|00002dd0| 6e 64 20 73 65 6c 65 63 | 74 20 69 74 0d 5f 5f 5f |nd selec|t it.___|
|00002de0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002df0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002e00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002e10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00002e20| 5f 5f 5f 5f 0d 6f 6e 20 | 6d 6f 75 73 65 55 70 0d |____.on |mouseUp.|
|00002e30| 0d 67 6c 6f 62 61 6c 20 | 48 69 74 4c 69 73 74 2c |.global |HitList,|
|00002e40| 20 48 69 74 50 6f 69 6e | 74 65 72 2c 20 48 69 74 | HitPoin|ter, Hit|
|00002e50| 44 6f 63 4f 66 66 73 65 | 74 73 0d 0d 73 65 6c 65 |DocOffse|ts..sele|
|00002e60| 63 74 20 74 68 65 20 63 | 6c 69 63 6b 4c 69 6e 65 |ct the c|lickLine|
|00002e70| 0d 69 66 20 74 68 65 20 | 73 65 6c 65 63 74 69 6f |.if the |selectio|
|00002e80| 6e 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |n is emp|ty then |
|00002e90| 65 78 69 74 20 6d 6f 75 | 73 65 55 70 0d 73 65 74 |exit mou|seUp.set|
|00002ea0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00002eb0| 0d 70 75 74 20 77 6f 72 | 64 20 32 20 6f 66 20 74 |.put wor|d 2 of t|
|00002ec0| 68 65 20 63 6c 69 63 6b | 4c 69 6e 65 20 69 6e 74 |he click|Line int|
|00002ed0| 6f 20 63 6c 69 63 6b 4c | 69 6e 65 4e 75 6d 0d 70 |o clickL|ineNum.p|
|00002ee0| 75 74 20 63 6c 69 63 6b | 4c 69 6e 65 4e 75 6d 20 |ut click|LineNum |
|00002ef0| 69 6e 74 6f 20 63 61 72 | 64 4c 69 6e 65 4e 75 6d |into car|dLineNum|
|00002f00| 0d 0d 69 66 20 63 6c 69 | 63 6b 4c 69 6e 65 4e 75 |..if cli|ckLineNu|
|00002f10| 6d 20 3d 20 31 20 74 68 | 65 6e 20 70 75 74 20 31 |m = 1 th|en put 1|
|00002f20| 20 69 6e 74 6f 20 63 61 | 72 64 4c 69 6e 65 4e 75 | into ca|rdLineNu|
|00002f30| 6d 0d 65 6c 73 65 20 69 | 66 20 63 6c 69 63 6b 4c |m.else i|f clickL|
|00002f40| 69 6e 65 4e 75 6d 20 3c | 20 69 74 65 6d 20 31 20 |ineNum <| item 1 |
|00002f50| 6f 66 20 6c 69 6e 65 20 | 32 20 6f 66 20 48 69 74 |of line |2 of Hit|
|00002f60| 44 6f 63 4f 66 66 73 65 | 74 73 20 74 68 65 6e 0d |DocOffse|ts then.|
|00002f70| 73 75 62 74 72 61 63 74 | 20 31 20 66 72 6f 6d 20 |subtract| 1 from |
|00002f80| 63 61 72 64 4c 69 6e 65 | 4e 75 6d 0d 65 6c 73 65 |cardLine|Num.else|
|00002f90| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6f 20 3d |.repeat |with o =|
|00002fa0| 20 32 20 74 6f 20 6e 75 | 6d 62 65 72 20 6f 66 20 | 2 to nu|mber of |
|00002fb0| 6c 69 6e 65 73 20 69 6e | 20 48 69 74 44 6f 63 4f |lines in| HitDocO|
|00002fc0| 66 66 73 65 74 73 0d 67 | 65 74 20 69 74 65 6d 20 |ffsets.g|et item |
|00002fd0| 31 20 6f 66 20 6c 69 6e | 65 20 6f 20 6f 66 20 48 |1 of lin|e o of H|
|00002fe0| 69 74 44 6f 63 4f 66 66 | 73 65 74 73 0d 69 66 20 |itDocOff|sets.if |
|00002ff0| 69 74 20 3e 20 63 6c 69 | 63 6b 4c 69 6e 65 4e 75 |it > cli|ckLineNu|
|00003000| 6d 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |m then e|xit repe|
|00003010| 61 74 0d 73 75 62 74 72 | 61 63 74 20 33 20 66 72 |at.subtr|act 3 fr|
|00003020| 6f 6d 20 63 61 72 64 4c | 69 6e 65 4e 75 6d 0d 65 |om cardL|ineNum.e|
|00003030| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 69 74 20 |nd repea|t.if it |
|00003040| 3d 20 63 6c 69 63 6b 4c | 69 6e 65 4e 75 6d 20 74 |= clickL|ineNum t|
|00003050| 68 65 6e 20 61 64 64 20 | 31 20 74 6f 20 63 61 72 |hen add |1 to car|
|00003060| 64 4c 69 6e 65 4e 75 6d | 0d 65 6e 64 20 69 66 0d |dLineNum|.end if.|
|00003070| 0d 67 65 74 20 4b 72 73 | 46 69 6e 64 44 65 73 63 |.get Krs|FindDesc|
|00003080| 28 48 69 74 4c 69 73 74 | 2c 30 2c 63 61 72 64 4c |(HitList|,0,cardL|
|00003090| 69 6e 65 4e 75 6d 29 0d | 70 75 74 20 77 6f 72 64 |ineNum).|put word|
|000030a0| 20 31 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 48 69 | 1 of it| into Hi|
|000030b0| 74 50 6f 69 6e 74 65 72 | 0d 67 6f 48 69 74 20 48 |tPointer|.goHit H|
|000030c0| 69 74 50 6f 69 6e 74 65 | 72 0d 0d 65 6e 64 20 6d |itPointe|r..end m|
|000030d0| 6f 75 73 65 55 70 00 00 | 00 22 00 0c 01 00 00 7d |ouseUp..|.".....}|
|000030e0| 00 00 03 38 00 15 00 01 | 00 00 00 00 00 01 00 03 |...8....|........|
|000030f0| 00 09 00 00 00 0c 00 00 | 00 00 00 28 00 11 02 25 |........|...(...%|
|00003100| 00 6b 00 0b 00 7d 01 54 | 20 01 00 00 00 00 00 00 |.k...}.T| .......|
|00003110| 00 0a 00 09 00 00 00 0c | 74 69 74 6c 65 31 00 00 |........|title1..|
|00003120| 00 00 00 26 00 1b 02 00 | 00 0f 00 4c 00 1f 01 5a |...&....|...L...Z|
|00003130| 00 00 00 00 00 00 00 00 | 00 03 00 0a 00 00 00 0d |........|........|
|00003140| 74 65 72 6d 31 00 00 00 | 00 26 00 2d 02 00 00 22 |term1...|.&.-..."|
|00003150| 00 d8 00 32 01 5a 00 00 | 00 00 00 00 00 00 00 03 |...2.Z..|........|
|00003160| 00 0a 00 00 00 0d 74 65 | 72 6d 32 00 00 00 00 28 |......te|rm2....(|
|00003170| 00 2e 02 00 00 37 00 5d | 00 47 00 7e 00 00 00 00 |.....7.]|.G.~....|
|00003180| 00 00 00 00 00 03 00 0a | 00 00 00 0d 77 69 74 68 |........|....with|
|00003190| 69 6e 00 00 00 00 00 26 | 00 30 02 00 00 37 00 b2 |in.....&|.0...7..|
|000031a0| 00 47 01 5a 00 00 00 00 | 00 00 00 00 00 03 00 0a |.G.Z....|........|
|000031b0| 00 00 00 0d 74 65 72 6d | 33 00 00 00 00 26 00 32 |....term|3....&.2|
|000031c0| 01 00 00 4f 00 fe 00 5f | 01 2c e0 05 00 00 00 00 |...O..._|.,......|
|000031d0| 00 01 00 0a 00 09 00 00 | 00 0c 54 65 78 74 00 00 |........|..Text..|
|000031e0| 00 00 00 28 00 33 01 00 | 00 4f 01 29 00 5f 01 5c |...(.3..|.O.)._.\|
|000031f0| e0 05 00 00 00 00 00 01 | 00 0a 00 09 00 00 00 0c |........|........|
|00003200| 54 69 74 6c 65 73 00 00 | 00 00 00 5c 00 3a 01 00 |Titles..|...\.:..|
|00003210| 00 47 01 6f 00 5a 01 ad | 20 00 00 00 00 00 00 01 |.G.o.Z..| .......|
|00003220| 00 03 00 09 01 00 00 0c | 53 65 61 72 63 68 00 00 |........|Search..|
|00003230| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 73 65 74 20 63 |on mouse|Up.set c|
|00003240| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 64 |ursor to| watch.d|
|00003250| 6f 53 65 61 72 63 68 0d | 65 6e 64 20 6d 6f 75 73 |oSearch.|end mous|
|00003260| 65 55 70 0d 00 00 00 56 | 00 3b 01 00 00 2b 01 6e |eUp....V|.;...+.n|
|00003270| 00 3c 01 ad 20 00 00 00 | 00 00 00 01 00 03 00 09 |.<.. ...|........|
|00003280| 01 00 00 0c 43 6c 65 61 | 72 20 73 65 61 72 63 68 |....Clea|r search|
|00003290| 20 74 65 72 6d 73 00 00 | 6f 6e 20 6d 6f 75 73 65 | terms..|on mouse|
|000032a0| 55 70 0d 63 6c 65 61 72 | 53 65 61 72 63 68 0d 65 |Up.clear|Search.e|
|000032b0| 6e 64 20 6d 6f 75 73 65 | 55 70 0d 00 00 66 00 3f |nd mouse|Up...f.?|
|000032c0| 02 81 00 50 00 08 01 17 | 01 99 20 07 00 00 00 00 |...P....|.. .....|
|000032d0| 00 00 00 04 00 09 00 00 | 00 0c 73 65 61 72 63 68 |........|..search|
|000032e0| 4f 70 74 69 6f 6e 73 00 | 00 6f 6e 20 6d 6f 75 73 |Options.|.on mous|
|000032f0| 65 55 70 0d 68 69 64 65 | 20 6d 65 0d 73 65 74 20 |eUp.hide| me.set |
|00003300| 73 63 72 6f 6c 6c 20 6f | 66 20 6d 65 20 74 6f 20 |scroll o|f me to |
|00003310| 7a 65 72 6f 0d 65 6e 64 | 20 6d 6f 75 73 65 55 70 |zero.end| mouseUp|
|00003320| 0d 00 01 da 00 42 02 01 | 00 23 00 12 00 31 00 43 |.....B..|.#...1.C|
|00003330| 00 00 00 00 00 00 00 00 | 00 0a 00 09 00 00 00 0b |........|........|
|00003340| 69 6e 4e 6f 74 49 6e 00 | 00 0d 2d 2d 20 44 6f 20 |inNotIn.|..-- Do |
|00003350| 70 6f 70 64 6f 77 6e 20 | 6d 65 6e 75 20 73 65 6c |popdown |menu sel|
|00003360| 65 63 74 69 6f 6e 0d 5f | 5f 5f 5f 5f 5f 5f 5f 5f |ection._|________|
|00003370| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003380| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003390| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000033a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 0d 6f |________|______.o|
|000033b0| 6e 20 6d 6f 75 73 65 64 | 6f 77 6e 0d 0d 70 75 74 |n moused|own..put|
|000033c0| 20 22 69 6e 2c 6e 6f 74 | 20 69 6e 22 20 69 6e 74 | "in,not| in" int|
|000033d0| 6f 20 6c 69 73 74 0d 0d | 70 75 74 20 74 6f 70 20 |o list..|put top |
|000033e0| 6f 66 20 6d 65 20 2b 20 | 74 6f 70 20 6f 66 20 63 |of me + |top of c|
|000033f0| 64 20 77 69 6e 64 6f 77 | 20 2b 20 31 20 69 6e 74 |d window| + 1 int|
|00003400| 6f 20 76 0d 70 75 74 20 | 6c 65 66 74 20 6f 66 20 |o v.put |left of |
|00003410| 6d 65 20 2b 20 6c 65 66 | 74 20 6f 66 20 63 64 20 |me + lef|t of cd |
|00003420| 77 69 6e 64 6f 77 20 2b | 20 31 20 69 6e 74 6f 20 |window +| 1 into |
|00003430| 68 0d 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |h.put li|ne 1 of |
|00003440| 6d 65 20 69 6e 74 6f 20 | 63 68 6f 73 65 6e 0d 0d |me into |chosen..|
|00003450| 69 66 20 6d 65 20 3d 20 | 22 69 6e 22 20 74 68 65 |if me = |"in" the|
|00003460| 6e 20 67 65 74 20 31 20 | 65 6c 73 65 20 67 65 74 |n get 1 |else get|
|00003470| 20 32 0d 70 75 74 20 50 | 6f 70 55 70 4d 65 6e 75 | 2.put P|opUpMenu|
|00003480| 28 6c 69 73 74 2c 69 74 | 2c 76 2c 68 29 20 69 6e |(list,it|,v,h) in|
|00003490| 74 6f 20 69 74 65 6d 4e | 75 6d 62 65 72 0d 0d 69 |to itemN|umber..i|
|000034a0| 66 20 69 74 65 6d 4e 75 | 6d 62 65 72 20 3d 20 30 |f itemNu|mber = 0|
|000034b0| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 6f 75 73 65 | then ex|it mouse|
|000034c0| 44 6f 77 6e 0d 0d 70 75 | 74 20 69 74 65 6d 20 69 |Down..pu|t item i|
|000034d0| 74 65 6d 4e 75 6d 62 65 | 72 20 6f 66 20 6c 69 73 |temNumbe|r of lis|
|000034e0| 74 20 69 6e 74 6f 20 6d | 65 0d 0d 65 6e 64 20 6d |t into m|e..end m|
|000034f0| 6f 75 73 65 64 6f 77 6e | 0d 0d 00 00 01 f0 00 43 |ousedown|.......C|
|00003500| 02 01 00 23 00 7d 00 31 | 00 c4 00 00 00 00 00 00 |...#.}.1|........|
|00003510| 00 00 00 0a 00 09 00 00 | 00 0b 73 65 63 74 69 6f |........|..sectio|
|00003520| 6e 50 61 72 61 67 72 61 | 70 68 00 00 0d 2d 2d 20 |nParagra|ph...-- |
|00003530| 44 6f 20 70 6f 70 64 6f | 77 6e 20 6d 65 6e 75 20 |Do popdo|wn menu |
|00003540| 73 65 6c 65 63 74 69 6f | 6e 0d 5f 5f 5f 5f 5f 5f |selectio|n.______|
|00003550| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003560| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003570| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003580| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003590| 5f 0d 6f 6e 20 6d 6f 75 | 73 65 64 6f 77 6e 0d 0d |_.on mou|sedown..|
|000035a0| 70 75 74 20 22 73 65 63 | 74 69 6f 6e 2c 70 61 72 |put "sec|tion,par|
|000035b0| 61 67 72 61 70 68 22 20 | 69 6e 74 6f 20 6c 69 73 |agraph" |into lis|
|000035c0| 74 0d 0d 70 75 74 20 74 | 6f 70 20 6f 66 20 6d 65 |t..put t|op of me|
|000035d0| 20 2b 20 74 6f 70 20 6f | 66 20 63 64 20 77 69 6e | + top o|f cd win|
|000035e0| 64 6f 77 20 2b 20 31 20 | 69 6e 74 6f 20 76 0d 70 |dow + 1 |into v.p|
|000035f0| 75 74 20 6c 65 66 74 20 | 6f 66 20 6d 65 20 2b 20 |ut left |of me + |
|00003600| 6c 65 66 74 20 6f 66 20 | 63 64 20 77 69 6e 64 6f |left of |cd windo|
|00003610| 77 20 2b 20 31 20 69 6e | 74 6f 20 68 0d 70 75 74 |w + 1 in|to h.put|
|00003620| 20 6c 69 6e 65 20 31 20 | 6f 66 20 6d 65 20 69 6e | line 1 |of me in|
|00003630| 74 6f 20 63 68 6f 73 65 | 6e 0d 0d 69 66 20 6d 65 |to chose|n..if me|
|00003640| 20 3d 20 22 73 65 63 74 | 69 6f 6e 22 20 74 68 65 | = "sect|ion" the|
|00003650| 6e 20 67 65 74 20 31 20 | 65 6c 73 65 20 67 65 74 |n get 1 |else get|
|00003660| 20 32 0d 70 75 74 20 50 | 6f 70 55 70 4d 65 6e 75 | 2.put P|opUpMenu|
|00003670| 28 6c 69 73 74 2c 69 74 | 2c 76 2c 68 29 20 69 6e |(list,it|,v,h) in|
|00003680| 74 6f 20 69 74 65 6d 4e | 75 6d 62 65 72 0d 0d 69 |to itemN|umber..i|
|00003690| 66 20 69 74 65 6d 4e 75 | 6d 62 65 72 20 3d 20 30 |f itemNu|mber = 0|
|000036a0| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 6f 75 73 65 | then ex|it mouse|
|000036b0| 44 6f 77 6e 0d 0d 70 75 | 74 20 69 74 65 6d 20 69 |Down..pu|t item i|
|000036c0| 74 65 6d 4e 75 6d 62 65 | 72 20 6f 66 20 6c 69 73 |temNumbe|r of lis|
|000036d0| 74 20 69 6e 74 6f 20 6d | 65 0d 0d 65 6e 64 20 6d |t into m|e..end m|
|000036e0| 6f 75 73 65 64 6f 77 6e | 0d 0d 00 00 01 ee 00 44 |ousedown|.......D|
|000036f0| 02 01 00 38 00 12 00 46 | 00 5a 00 00 00 00 00 00 |...8...F|.Z......|
|00003700| 00 00 00 0a 00 09 00 00 | 00 0b 77 69 74 68 69 6e |........|..within|
|00003710| 4e 6f 74 57 69 74 68 69 | 6e 00 00 0d 2d 2d 20 44 |NotWithi|n...-- D|
|00003720| 6f 20 70 6f 70 64 6f 77 | 6e 20 6d 65 6e 75 20 73 |o popdow|n menu s|
|00003730| 65 6c 65 63 74 69 6f 6e | 0d 5f 5f 5f 5f 5f 5f 5f |election|._______|
|00003740| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003750| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003760| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003770| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003780| 0d 6f 6e 20 6d 6f 75 73 | 65 64 6f 77 6e 0d 0d 70 |.on mous|edown..p|
|00003790| 75 74 20 22 77 69 74 68 | 69 6e 2c 6e 6f 74 20 77 |ut "with|in,not w|
|000037a0| 69 74 68 69 6e 22 20 69 | 6e 74 6f 20 6c 69 73 74 |ithin" i|nto list|
|000037b0| 0d 0d 70 75 74 20 74 6f | 70 20 6f 66 20 6d 65 20 |..put to|p of me |
|000037c0| 2b 20 74 6f 70 20 6f 66 | 20 63 64 20 77 69 6e 64 |+ top of| cd wind|
|000037d0| 6f 77 20 2b 20 31 20 69 | 6e 74 6f 20 76 0d 70 75 |ow + 1 i|nto v.pu|
|000037e0| 74 20 6c 65 66 74 20 6f | 66 20 6d 65 20 2b 20 6c |t left o|f me + l|
|000037f0| 65 66 74 20 6f 66 20 63 | 64 20 77 69 6e 64 6f 77 |eft of c|d window|
|00003800| 20 2b 20 31 20 69 6e 74 | 6f 20 68 0d 70 75 74 20 | + 1 int|o h.put |
|00003810| 6c 69 6e 65 20 31 20 6f | 66 20 6d 65 20 69 6e 74 |line 1 o|f me int|
|00003820| 6f 20 63 68 6f 73 65 6e | 0d 0d 69 66 20 6d 65 20 |o chosen|..if me |
|00003830| 3d 20 22 77 69 74 68 69 | 6e 22 20 74 68 65 6e 20 |= "withi|n" then |
|00003840| 67 65 74 20 31 20 65 6c | 73 65 20 67 65 74 20 32 |get 1 el|se get 2|
|00003850| 0d 70 75 74 20 50 6f 70 | 55 70 4d 65 6e 75 28 6c |.put Pop|UpMenu(l|
|00003860| 69 73 74 2c 69 74 2c 76 | 2c 68 29 20 69 6e 74 6f |ist,it,v|,h) into|
|00003870| 20 69 74 65 6d 4e 75 6d | 62 65 72 0d 0d 69 66 20 | itemNum|ber..if |
|00003880| 69 74 65 6d 4e 75 6d 62 | 65 72 20 3d 20 30 20 74 |itemNumb|er = 0 t|
|00003890| 68 65 6e 20 65 78 69 74 | 20 6d 6f 75 73 65 44 6f |hen exit| mouseDo|
|000038a0| 77 6e 0d 0d 70 75 74 20 | 69 74 65 6d 20 69 74 65 |wn..put |item ite|
|000038b0| 6d 4e 75 6d 62 65 72 20 | 6f 66 20 6c 69 73 74 20 |mNumber |of list |
|000038c0| 69 6e 74 6f 20 6d 65 0d | 0d 65 6e 64 20 6d 6f 75 |into me.|.end mou|
|000038d0| 73 65 64 6f 77 6e 0d 0d | 00 00 01 f2 00 46 02 01 |sedown..|.....F..|
|000038e0| 00 50 00 3a 00 5e 00 f5 | 00 00 00 00 00 00 00 00 |.P.:.^..|........|
|000038f0| 00 0a 00 09 00 00 00 0b | 73 65 61 72 63 68 44 6f |........|searchDo|
|00003900| 63 73 00 00 0d 2d 2d 20 | 44 6f 20 70 6f 70 64 6f |cs...-- |Do popdo|
|00003910| 77 6e 20 6d 65 6e 75 20 | 73 65 6c 65 63 74 69 6f |wn menu |selectio|
|00003920| 6e 0d 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |n.______|________|
|00003930| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003940| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003950| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003960| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 6f 6e 20 6d 6f 75 |________|_.on mou|
|00003970| 73 65 64 6f 77 6e 0d 0d | 67 6c 6f 62 61 6c 20 53 |sedown..|global S|
|00003980| 65 61 72 63 68 44 6f 63 | 73 4c 69 73 74 0d 0d 70 |earchDoc|sList..p|
|00003990| 75 74 20 74 6f 70 20 6f | 66 20 6d 65 20 2b 20 74 |ut top o|f me + t|
|000039a0| 6f 70 20 6f 66 20 63 64 | 20 77 69 6e 64 6f 77 20 |op of cd| window |
|000039b0| 2b 20 31 20 69 6e 74 6f | 20 76 0d 70 75 74 20 6c |+ 1 into| v.put l|
|000039c0| 65 66 74 20 6f 66 20 6d | 65 20 2b 20 6c 65 66 74 |eft of m|e + left|
|000039d0| 20 6f 66 20 63 64 20 77 | 69 6e 64 6f 77 20 2b 20 | of cd w|indow + |
|000039e0| 31 20 69 6e 74 6f 20 68 | 0d 0d 67 65 74 20 6d 65 |1 into h|..get me|
|000039f0| 0d 69 66 20 69 74 20 69 | 73 20 65 6d 70 74 79 20 |.if it i|s empty |
|00003a00| 74 68 65 6e 20 67 65 74 | 20 31 0d 65 6c 73 65 0d |then get| 1.else.|
|00003a10| 66 69 6e 64 49 6e 58 43 | 4d 44 20 53 65 61 72 63 |findInXC|MD Searc|
|00003a20| 68 44 6f 63 73 4c 69 73 | 74 2c 69 74 2c 31 0d 67 |hDocsLis|t,it,1.g|
|00003a30| 65 74 20 69 74 65 6d 20 | 31 20 6f 66 20 74 68 65 |et item |1 of the|
|00003a40| 20 72 65 73 75 6c 74 0d | 65 6e 64 20 69 66 0d 0d | result.|end if..|
|00003a50| 67 65 74 20 50 6f 70 55 | 70 4d 65 6e 75 28 53 65 |get PopU|pMenu(Se|
|00003a60| 61 72 63 68 44 6f 63 73 | 4c 69 73 74 2c 69 74 2c |archDocs|List,it,|
|00003a70| 76 2c 68 29 0d 0d 69 66 | 20 69 74 20 3d 20 30 20 |v,h)..if| it = 0 |
|00003a80| 74 68 65 6e 20 65 78 69 | 74 20 6d 6f 75 73 65 44 |then exi|t mouseD|
|00003a90| 6f 77 6e 0d 0d 70 75 74 | 20 6c 69 6e 65 20 69 74 |own..put| line it|
|00003aa0| 20 6f 66 20 53 65 61 72 | 63 68 44 6f 63 73 4c 69 | of Sear|chDocsLi|
|00003ab0| 73 74 20 69 6e 74 6f 20 | 6d 65 0d 0d 65 6e 64 20 |st into |me..end |
|00003ac0| 6d 6f 75 73 65 64 6f 77 | 6e 0d 0d 00 ff ef 00 23 |mousedow|n......#|
|00003ad0| 00 53 65 63 74 69 6f 6e | 73 20 63 6f 6e 74 61 69 |.Section|s contai|
|00003ae0| 6e 69 6e 67 20 6d 61 74 | 63 68 69 6e 67 20 69 74 |ning mat|ching it|
|00003af0| 65 6d 73 00 ff c1 04 87 | 00 59 6f 75 20 63 61 6e |ems.....|.You can|
|00003b00| 20 61 6c 73 6f 20 75 73 | 65 20 74 68 65 20 66 6f | also us|e the fo|
|00003b10| 6c 6c 6f 77 69 6e 67 20 | 73 70 65 63 69 61 6c 20 |llowing |special |
|00003b20| 63 68 61 72 61 63 74 65 | 72 73 20 69 6e 20 79 6f |characte|rs in yo|
|00003b30| 75 72 20 73 65 61 72 63 | 68 65 73 3a 0d 0d 43 68 |ur searc|hes:..Ch|
|00003b40| 61 72 61 63 74 65 72 20 | 20 4d 65 61 6e 69 6e 67 |aracter | Meaning|
|00003b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003b60| 45 78 61 6d 70 6c 65 73 | 0d 5f 5f 5f 5f 5f 5f 5f |Examples|._______|
|00003b70| 5f 5f 20 20 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |__ ____|________|
|00003b80| 5f 5f 5f 5f 5f 5f 5f 5f | 20 20 20 5f 5f 5f 5f 5f |________| _____|
|00003b90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003ba0| 5f 5f 5f 5f 5f 0d 20 20 | 20 3f 20 20 20 20 20 20 |_____. | ? |
|00003bb0| 20 6d 61 74 63 68 65 73 | 20 61 6e 79 20 73 69 6e | matches| any sin|
|00003bc0| 67 6c 65 20 20 20 20 20 | 22 66 69 73 68 3f 22 20 |gle |"fish?" |
|00003bd0| 66 69 6e 64 73 20 22 66 | 69 73 68 22 20 6f 72 0d |finds "f|ish" or.|
|00003be0| 20 20 20 20 20 20 20 20 | 20 20 20 63 68 61 72 61 | | chara|
|00003bf0| 63 74 65 72 20 20 20 20 | 20 20 20 20 20 20 20 20 |cter | |
|00003c00| 20 20 22 66 69 73 68 79 | 22 2c 20 62 75 74 20 6e | "fishy|", but n|
|00003c10| 6f 74 20 22 66 69 73 68 | 65 73 22 0d 0d 20 20 20 |ot "fish|es".. |
|00003c20| 2a 20 20 20 20 20 20 20 | 6d 61 74 63 68 65 73 20 |* |matches |
|00003c30| 61 6e 79 20 73 65 71 75 | 65 6e 63 65 20 20 20 22 |any sequ|ence "|
|00003c40| 66 69 73 68 2a 22 20 66 | 69 6e 64 73 20 22 66 69 |fish*" f|inds "fi|
|00003c50| 73 68 22 2c 20 0d 20 20 | 20 20 20 20 20 20 20 20 |sh", . | |
|00003c60| 20 6f 66 20 63 68 61 72 | 61 63 74 65 72 73 20 20 | of char|acters |
|00003c70| 20 20 20 20 20 20 20 20 | 22 66 69 73 68 79 22 2c | |"fishy",|
|00003c80| 20 22 66 69 73 68 65 73 | 22 20 61 6e 64 0d 20 20 | "fishes|" and. |
|00003c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003cb0| 22 66 69 73 68 65 72 69 | 65 73 22 0d 0d 3c 73 70 |"fisheri|es"..<sp|
|00003cc0| 61 63 65 3e 20 20 20 20 | 61 64 6a 61 63 65 6e 74 |ace> |adjacent|
|00003cd0| 20 74 6f 2c 20 20 20 20 | 20 20 20 20 20 20 20 22 | to, | "|
|00003ce0| 66 69 73 68 20 73 61 6c | 65 22 20 66 69 6e 64 73 |fish sal|e" finds|
|00003cf0| 20 22 66 69 73 68 20 0d | 20 20 20 20 20 20 20 20 | "fish .| |
|00003d00| 20 20 20 69 6e 20 61 6e | 79 20 6f 72 64 65 72 20 | in an|y order |
|00003d10| 20 20 20 20 20 20 20 20 | 20 20 20 73 61 6c 65 22 | | sale"|
|00003d20| 20 61 6e 64 20 22 73 61 | 6c 65 20 66 69 73 68 22 | and "sa|le fish"|
|00003d30| 20 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00003d40| 20 20 20 20 20 20 20 20 | 20 0d 20 20 20 2d 20 20 | | . - |
|00003d50| 20 20 20 20 20 61 64 6a | 61 63 65 6e 74 20 74 6f | adj|acent to|
|00003d60| 2c 20 20 20 20 20 20 20 | 20 20 20 20 22 66 69 73 |, | "fis|
|00003d70| 68 2d 73 61 6c 65 22 20 | 66 69 6e 64 73 20 22 66 |h-sale" |finds "f|
|00003d80| 69 73 68 20 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ish . | |
|00003d90| 69 6e 20 65 78 61 63 74 | 20 6f 72 64 65 72 20 20 |in exact| order |
|00003da0| 20 20 20 20 20 20 20 20 | 73 61 6c 65 22 2c 20 62 | |sale", b|
|00003db0| 75 74 20 6e 6f 74 20 22 | 73 61 6c 65 20 66 69 73 |ut not "|sale fis|
|00003dc0| 68 22 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h" | |
|00003dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003de0| 20 20 20 20 20 20 0d 20 | 20 20 2c 20 20 20 20 20 | . | , |
|00003df0| 20 20 6f 72 20 20 20 20 | 20 20 20 20 20 20 20 20 | or | |
|00003e00| 20 20 20 20 20 20 20 20 | 20 22 66 69 73 68 2c 73 | | "fish,s|
|00003e10| 61 6c 65 22 20 66 69 6e | 64 73 20 22 66 69 73 68 |ale" fin|ds "fish|
|00003e20| 22 20 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |" . | |
|00003e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003e40| 20 20 20 20 20 20 6f 72 | 20 22 73 61 6c 65 22 0d | or| "sale".|
|00003e50| 0d 20 20 20 2e 20 20 20 | 20 20 20 20 70 72 6f 78 |. . | prox|
|00003e60| 69 6d 69 74 79 20 28 31 | 20 70 65 72 69 6f 64 20 |imity (1| period |
|00003e70| 20 20 20 22 66 69 73 68 | 2e 2e 62 69 63 79 63 6c | "fish|..bicycl|
|00003e80| 65 73 22 20 66 69 6e 64 | 73 20 22 66 69 73 68 0d |es" find|s "fish.|
|00003e90| 20 20 20 20 20 20 20 20 | 20 20 20 72 65 70 72 65 | | repre|
|00003ea0| 73 65 6e 74 73 20 31 20 | 77 6f 72 64 29 20 20 20 |sents 1 |word) |
|00003eb0| 20 20 20 62 69 63 79 63 | 6c 65 73 22 2c 20 22 66 | bicyc|les", "f|
|00003ec0| 69 73 68 20 72 69 64 65 | 20 0d 20 20 20 20 20 20 |ish ride| . |
|00003ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 69 63 | | bic|
|00003ef0| 79 63 6c 65 73 22 20 61 | 6e 64 20 22 66 69 73 68 |ycles" a|nd "fish|
|00003f00| 20 72 69 64 65 20 0d 20 | 20 20 20 20 20 20 20 20 | ride . | |
|00003f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003f20| 20 20 20 20 20 20 20 20 | 20 20 72 65 64 20 62 69 | | red bi|
|00003f30| 63 79 63 6c 65 73 22 2c | 20 62 75 74 20 6e 6f 74 |cycles",| but not|
|00003f40| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003f60| 20 20 20 22 66 69 73 68 | 20 67 6f 20 66 61 72 20 | "fish| go far |
|00003f70| 77 69 74 68 20 62 69 63 | 79 63 6c 65 73 22 0d 00 |with bic|ycles"..|
|00003f80| ff be 00 03 00 69 6e 00 | ff bd 00 08 00 73 65 63 |.....in.|.....sec|
|00003f90| 74 69 6f 6e ff bc 00 07 | 00 77 69 74 68 69 6e 00 |tion....|.within.|
|00003fa0| ff ba 00 0e 00 61 6c 6c | 20 64 6f 63 75 6d 65 6e |.....all| documen|
|00003fb0| 74 73 ff e5 00 06 00 73 | 74 75 66 66 00 0d 0d 2d |ts.....s|tuff...-|
|00003fc0| 2d 20 44 6f 20 74 68 65 | 20 73 65 61 72 63 68 20 |- Do the| search |
|00003fd0| 62 61 73 65 64 20 6f 6e | 20 74 68 65 20 63 75 72 |based on| the cur|
|00003fe0| 72 65 6e 74 20 73 65 61 | 72 63 68 20 63 72 69 74 |rent sea|rch crit|
|00003ff0| 65 72 69 61 0d 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |eria.___|________|
|00004000| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004010| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004020| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004030| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 0d 6f 6e 20 |________|____.on |
|00004040| 64 6f 53 65 61 72 63 68 | 20 74 68 65 51 75 65 72 |doSearch| theQuer|
|00004050| 79 0d 0d 67 6c 6f 62 61 | 6c 20 49 6e 64 65 78 46 |y..globa|l IndexF|
|00004060| 69 6c 65 4e 61 6d 65 2c | 20 54 69 74 6c 65 46 69 |ileName,| TitleFi|
|00004070| 6c 65 4e 61 6d 65 2c 42 | 72 6f 77 73 65 72 50 61 |leName,B|rowserPa|
|00004080| 74 68 2c 20 44 6f 63 75 | 6d 65 6e 74 4c 69 73 74 |th, Docu|mentList|
|00004090| 2c 20 c2 0d 48 69 74 4c | 69 73 74 2c 20 48 69 74 |, ..HitL|ist, Hit|
|000040a0| 50 6f 69 6e 74 65 72 2c | 20 48 69 74 43 6f 75 6e |Pointer,| HitCoun|
|000040b0| 74 2c 20 48 69 74 43 61 | 72 64 43 6f 75 6e 74 2c |t, HitCa|rdCount,|
|000040c0| 20 48 69 74 44 6f 63 4f | 66 66 73 65 74 73 0d 0d | HitDocO|ffsets..|
|000040d0| 2d 2d 20 43 6c 65 61 72 | 20 74 68 65 20 73 65 61 |-- Clear| the sea|
|000040e0| 72 63 68 20 67 6c 6f 62 | 61 6c 73 20 61 6e 64 20 |rch glob|als and |
|000040f0| 63 61 72 64 20 66 69 65 | 6c 64 73 0d 0d 70 75 74 |card fie|lds..put|
|00004100| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 48 69 74 4c | empty i|nto HitL|
|00004110| 69 73 74 0d 70 75 74 20 | 7a 65 72 6f 20 69 6e 74 |ist.put |zero int|
|00004120| 6f 20 48 69 74 50 6f 69 | 6e 74 65 72 0d 70 75 74 |o HitPoi|nter.put|
|00004130| 20 7a 65 72 6f 20 69 6e | 74 6f 20 48 69 74 43 61 | zero in|to HitCa|
|00004140| 72 64 43 6f 75 6e 74 0d | 70 75 74 20 7a 65 72 6f |rdCount.|put zero|
|00004150| 20 69 6e 74 6f 20 48 69 | 74 43 6f 75 6e 74 0d 70 | into Hi|tCount.p|
|00004160| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 48 69 |ut empty| into Hi|
|00004170| 74 44 6f 63 4f 66 66 73 | 65 74 73 0d 70 75 74 20 |tDocOffs|ets.put |
|00004180| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 64 20 66 6c |empty in|to cd fl|
|00004190| 64 20 22 70 61 6e 65 31 | 22 0d 0d 2d 2d 20 42 75 |d "pane1|"..-- Bu|
|000041a0| 69 6c 64 20 74 68 65 20 | 71 75 65 72 79 20 28 6f |ild the |query (o|
|000041b0| 72 20 75 73 65 20 74 68 | 65 20 6f 6e 65 20 70 61 |r use th|e one pa|
|000041c0| 73 73 65 64 20 74 6f 20 | 64 6f 53 65 61 72 63 68 |ssed to |doSearch|
|000041d0| 29 0d 0d 69 66 20 74 68 | 65 51 75 65 72 79 20 69 |)..if th|eQuery i|
|000041e0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |s empty |then put|
|000041f0| 20 71 75 65 72 79 28 29 | 20 69 6e 74 6f 20 74 68 | query()| into th|
|00004200| 65 51 75 65 72 79 0d 0d | 2d 2d 20 47 65 74 20 74 |eQuery..|-- Get t|
|00004210| 68 65 20 64 6f 63 73 20 | 74 6f 20 62 65 20 73 65 |he docs |to be se|
|00004220| 61 72 63 68 65 64 0d 0d | 70 75 74 20 63 64 20 66 |arched..|put cd f|
|00004230| 6c 64 20 22 73 65 61 72 | 63 68 44 6f 63 73 22 20 |ld "sear|chDocs" |
|00004240| 69 6e 74 6f 20 73 65 61 | 72 63 68 44 6f 63 73 0d |into sea|rchDocs.|
|00004250| 0d 2d 2d 20 44 6f 20 74 | 68 65 20 73 65 61 72 63 |.-- Do t|he searc|
|00004260| 68 20 66 6f 72 20 65 61 | 63 68 20 64 6f 63 75 6d |h for ea|ch docum|
|00004270| 65 6e 74 20 69 6e 20 74 | 68 65 20 64 6f 63 75 6d |ent in t|he docum|
|00004280| 65 6e 74 73 20 6d 65 6e | 75 0d 0d 72 65 70 65 61 |ents men|u..repea|
|00004290| 74 20 77 69 74 68 20 66 | 20 3d 20 31 20 74 6f 20 |t with f| = 1 to |
|000042a0| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|000042b0| 69 6e 20 44 6f 63 75 6d | 65 6e 74 4c 69 73 74 0d |in Docum|entList.|
|000042c0| 0d 2d 2d 20 46 69 6e 64 | 20 74 68 65 20 73 65 61 |.-- Find| the sea|
|000042d0| 72 63 68 20 66 69 6c 65 | 73 20 66 6f 72 20 74 68 |rch file|s for th|
|000042e0| 65 20 6e 65 78 74 20 64 | 6f 63 75 6d 65 6e 74 0d |e next d|ocument.|
|000042f0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |.put ite|m 1 of l|
|00004300| 69 6e 65 20 66 20 6f 66 | 20 44 6f 63 75 6d 65 6e |ine f of| Documen|
|00004310| 74 4c 69 73 74 20 69 6e | 74 6f 20 73 74 61 63 6b |tList in|to stack|
|00004320| 50 61 74 68 0d 70 75 74 | 20 74 72 75 6e 63 46 69 |Path.put| truncFi|
|00004330| 6c 65 28 73 74 61 63 6b | 50 61 74 68 29 20 69 6e |le(stack|Path) in|
|00004340| 74 6f 20 73 74 61 63 6b | 4e 61 6d 65 0d 0d 69 66 |to stack|Name..if|
|00004350| 20 28 28 73 65 61 72 63 | 68 44 6f 63 73 20 3d 20 | ((searc|hDocs = |
|00004360| 22 61 6c 6c 20 64 6f 63 | 75 6d 65 6e 74 73 22 29 |"all doc|uments")|
|00004370| 20 c2 0d 6f 72 20 28 28 | 73 65 61 72 63 68 44 6f | ..or ((|searchDo|
|00004380| 63 73 20 3d 20 22 6f 70 | 65 6e 20 64 6f 63 75 6d |cs = "op|en docum|
|00004390| 65 6e 74 73 20 6f 6e 6c | 79 22 29 20 61 6e 64 20 |ents onl|y") and |
|000043a0| 28 73 74 61 63 6b 50 61 | 74 68 20 69 73 20 69 6e |(stackPa|th is in|
|000043b0| 20 74 68 65 20 73 74 61 | 63 6b 73 29 29 20 c2 0d | the sta|cks)) ..|
|000043c0| 6f 72 20 28 73 65 61 72 | 63 68 44 6f 63 73 20 3d |or (sear|chDocs =|
|000043d0| 20 73 74 61 63 6b 4e 61 | 6d 65 29 29 20 3d 20 66 | stackNa|me)) = f|
|000043e0| 61 6c 73 65 20 74 68 65 | 6e 20 6e 65 78 74 20 72 |alse the|n next r|
|000043f0| 65 70 65 61 74 0d 0d 70 | 75 74 20 22 53 65 61 72 |epeat..p|ut "Sear|
|00004400| 63 68 69 6e 67 22 20 26 | 26 20 73 74 61 63 6b 4e |ching" &|& stackN|
|00004410| 61 6d 65 20 26 20 22 c9 | 22 20 69 6e 74 6f 20 63 |ame & ".|" into c|
|00004420| 64 20 66 6c 64 20 22 74 | 69 74 6c 65 31 22 0d 0d |d fld "t|itle1"..|
|00004430| 67 65 74 20 50 61 74 68 | 50 72 65 66 69 78 28 73 |get Path|Prefix(s|
|00004440| 74 61 63 6b 50 61 74 68 | 29 0d 70 75 74 20 69 74 |tackPath|).put it|
|00004450| 20 26 20 22 53 75 70 70 | 6f 72 74 20 66 69 6c 65 | & "Supp|ort file|
|00004460| 73 3a 53 65 61 72 63 68 | 2e 69 6e 76 22 20 69 6e |s:Search|.inv" in|
|00004470| 74 6f 20 69 6e 64 65 78 | 46 69 6c 65 0d 70 75 74 |to index|File.put|
|00004480| 20 69 74 20 26 20 22 53 | 75 70 70 6f 72 74 20 66 | it & "S|upport f|
|00004490| 69 6c 65 73 3a 53 65 61 | 72 63 68 2e 74 74 6c 22 |iles:Sea|rch.ttl"|
|000044a0| 20 69 6e 74 6f 20 74 69 | 74 6c 65 46 69 6c 65 0d | into ti|tleFile.|
|000044b0| 0d 67 65 74 20 4b 72 73 | 57 6f 72 64 53 65 61 72 |.get Krs|WordSear|
|000044c0| 63 68 28 74 68 65 51 75 | 65 72 79 2c 69 6e 64 65 |ch(theQu|ery,inde|
|000044d0| 78 46 69 6c 65 29 0d 70 | 75 74 20 69 74 20 69 6e |xFile).p|ut it in|
|000044e0| 74 6f 20 73 65 61 72 63 | 68 49 6e 66 6f 0d 70 75 |to searc|hInfo.pu|
|000044f0| 74 20 77 6f 72 64 20 31 | 20 6f 66 20 73 65 61 72 |t word 1| of sear|
|00004500| 63 68 49 6e 66 6f 20 69 | 6e 74 6f 20 73 65 61 72 |chInfo i|nto sear|
|00004510| 63 68 52 65 73 75 6c 74 | 0d 0d 69 66 20 73 65 61 |chResult|..if sea|
|00004520| 72 63 68 52 65 73 75 6c | 74 20 3d 20 2d 35 20 74 |rchResul|t = -5 t|
|00004530| 68 65 6e 20 6e 65 78 74 | 20 72 65 70 65 61 74 20 |hen next| repeat |
|00004540| 2d 2d 20 6e 6f 20 69 6e | 64 65 78 20 66 69 6c 65 |-- no in|dex file|
|00004550| 20 66 6f 72 20 74 68 69 | 73 20 64 6f 63 0d 0d 69 | for thi|s doc..i|
|00004560| 66 20 28 73 65 61 72 63 | 68 52 65 73 75 6c 74 20 |f (searc|hResult |
|00004570| 3c 20 30 29 20 61 6e 64 | 20 28 73 65 61 72 63 68 |< 0) and| (search|
|00004580| 52 65 73 75 6c 74 20 ad | 20 2d 37 29 20 61 6e 64 |Result .| -7) and|
|00004590| 20 c2 0d 28 73 65 61 72 | 63 68 52 65 73 75 6c 74 | ..(sear|chResult|
|000045a0| 20 ad 20 2d 32 29 20 74 | 68 65 6e 20 73 65 61 72 | . -2) t|hen sear|
|000045b0| 63 68 45 72 72 6f 72 20 | 69 74 0d 0d 2d 2d 20 20 |chError |it..-- |
|000045c0| 73 74 61 63 6b 48 69 74 | 43 6f 75 6e 74 20 69 73 |stackHit|Count is|
|000045d0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 68 | the num|ber of h|
|000045e0| 69 74 73 0d 2d 2d 20 20 | 73 74 61 63 6b 43 61 72 |its.-- |stackCar|
|000045f0| 64 43 6f 75 6e 74 20 69 | 73 20 74 68 65 20 6e 75 |dCount i|s the nu|
|00004600| 6d 62 65 72 20 6f 66 20 | 63 61 72 64 73 20 77 69 |mber of |cards wi|
|00004610| 74 68 20 68 69 74 73 0d | 2d 2d 20 20 73 74 61 63 |th hits.|-- stac|
|00004620| 6b 48 69 74 4c 69 73 74 | 20 69 73 20 74 68 65 20 |kHitList| is the |
|00004630| 6c 69 73 74 20 6f 66 20 | 68 69 74 20 64 65 73 63 |list of |hit desc|
|00004640| 72 69 70 74 6f 72 73 0d | 0d 69 66 20 28 73 65 61 |riptors.|.if (sea|
|00004650| 72 63 68 52 65 73 75 6c | 74 20 ad 20 2d 37 29 20 |rchResul|t . -7) |
|00004660| 61 6e 64 20 28 73 65 61 | 72 63 68 52 65 73 75 6c |and (sea|rchResul|
|00004670| 74 20 ad 20 2d 32 29 20 | 74 68 65 6e 0d 0d 70 75 |t . -2) |then..pu|
|00004680| 74 20 73 65 61 72 63 68 | 52 65 73 75 6c 74 20 69 |t search|Result i|
|00004690| 6e 74 6f 20 73 74 61 63 | 6b 48 69 74 43 6f 75 6e |nto stac|kHitCoun|
|000046a0| 74 0d 70 75 74 20 77 6f | 72 64 20 32 20 6f 66 20 |t.put wo|rd 2 of |
|000046b0| 73 65 61 72 63 68 49 6e | 66 6f 20 69 6e 74 6f 20 |searchIn|fo into |
|000046c0| 73 74 61 63 6b 43 61 72 | 64 43 6f 75 6e 74 0d 70 |stackCar|dCount.p|
|000046d0| 75 74 20 6c 69 6e 65 20 | 33 20 74 6f 20 39 39 39 |ut line |3 to 999|
|000046e0| 39 39 20 6f 66 20 73 65 | 61 72 63 68 49 6e 66 6f |99 of se|archInfo|
|000046f0| 20 69 6e 74 6f 20 73 74 | 61 63 6b 48 69 74 4c 69 | into st|ackHitLi|
|00004700| 73 74 0d 0d 2d 2d 20 47 | 65 74 20 74 68 65 20 74 |st..-- G|et the t|
|00004710| 69 74 6c 65 73 20 6f 66 | 20 74 68 65 20 63 61 72 |itles of| the car|
|00004720| 64 73 20 77 69 74 68 20 | 68 69 74 73 0d 0d 70 75 |ds with |hits..pu|
|00004730| 74 20 28 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |t (numbe|r of lin|
|00004740| 65 73 20 6f 66 20 63 64 | 20 66 6c 64 20 22 70 61 |es of cd| fld "pa|
|00004750| 6e 65 31 22 29 20 2b 20 | 31 20 69 6e 74 6f 20 6e |ne1") + |1 into n|
|00004760| 61 6d 65 4c 69 6e 65 0d | 0d 70 75 74 20 73 74 61 |ameLine.|.put sta|
|00004770| 63 6b 4e 61 6d 65 20 26 | 20 22 20 20 28 22 20 26 |ckName &| " (" &|
|00004780| 20 73 74 61 63 6b 48 69 | 74 43 6f 75 6e 74 20 26 | stackHi|tCount &|
|00004790| 26 20 22 69 74 65 6d 73 | 20 69 6e 22 20 c2 0d 26 |& "items| in" ..&|
|000047a0| 26 20 73 74 61 63 6b 43 | 61 72 64 43 6f 75 6e 74 |& stackC|ardCount|
|000047b0| 20 26 26 20 22 73 65 63 | 74 69 6f 6e 73 29 22 20 | && "sec|tions)" |
|000047c0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |& return| after c|
|000047d0| 64 20 66 6c 64 20 22 70 | 61 6e 65 31 22 0d 73 65 |d fld "p|ane1".se|
|000047e0| 74 20 74 65 78 74 53 74 | 79 6c 65 20 6f 66 20 63 |t textSt|yle of c|
|000047f0| 68 61 72 20 31 20 74 6f | 20 6c 65 6e 67 74 68 28 |har 1 to| length(|
|00004800| 73 74 61 63 6b 4e 61 6d | 65 29 20 c2 0d 6f 66 20 |stackNam|e) ..of |
|00004810| 6c 69 6e 65 20 6e 61 6d | 65 4c 69 6e 65 20 6f 66 |line nam|eLine of|
|00004820| 20 63 64 20 66 6c 64 20 | 22 70 61 6e 65 31 22 20 | cd fld |"pane1" |
|00004830| 74 6f 20 75 6e 64 65 72 | 6c 69 6e 65 0d 0d 67 65 |to under|line..ge|
|00004840| 74 20 4b 52 53 47 65 74 | 54 69 74 6c 65 73 28 74 |t KRSGet|Titles(t|
|00004850| 69 74 6c 65 46 69 6c 65 | 2c 73 74 61 63 6b 48 69 |itleFile|,stackHi|
|00004860| 74 4c 69 73 74 2c 66 61 | 6c 73 65 29 0d 69 66 20 |tList,fa|lse).if |
|00004870| 77 6f 72 64 20 31 20 6f | 66 20 69 74 20 3c 20 30 |word 1 o|f it < 0|
|00004880| 20 74 68 65 6e 20 73 65 | 61 72 63 68 45 72 72 6f | then se|archErro|
|00004890| 72 20 69 74 0d 0d 69 66 | 20 6c 65 6e 67 74 68 28 |r it..if| length(|
|000048a0| 63 64 20 66 6c 64 20 22 | 70 61 6e 65 31 22 29 20 |cd fld "|pane1") |
|000048b0| 2b 20 6c 65 6e 67 74 68 | 28 69 74 29 20 3e 20 33 |+ length|(it) > 3|
|000048c0| 30 30 30 30 20 74 68 65 | 6e 20 73 65 61 72 63 68 |0000 the|n search|
|000048d0| 45 72 72 6f 72 20 31 0d | 70 75 74 20 28 6c 69 6e |Error 1.|put (lin|
|000048e0| 65 20 32 20 74 6f 20 39 | 39 39 39 39 20 6f 66 20 |e 2 to 9|9999 of |
|000048f0| 69 74 29 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |it) & re|turn & r|
|00004900| 65 74 75 72 6e 20 61 66 | 74 65 72 20 63 64 20 66 |eturn af|ter cd f|
|00004910| 6c 64 20 22 70 61 6e 65 | 31 22 0d 0d 70 75 74 20 |ld "pane|1"..put |
|00004920| 6e 61 6d 65 4c 69 6e 65 | 20 26 20 22 2c 22 20 26 |nameLine| & "," &|
|00004930| 20 48 69 74 43 6f 75 6e | 74 20 2b 20 31 20 26 20 | HitCoun|t + 1 & |
|00004940| 22 2c 22 20 26 20 73 74 | 61 63 6b 50 61 74 68 20 |"," & st|ackPath |
|00004950| 26 20 72 65 74 75 72 6e | 20 c2 0d 61 66 74 65 72 |& return| ..after|
|00004960| 20 48 69 74 44 6f 63 4f | 66 66 73 65 74 73 0d 0d | HitDocO|ffsets..|
|00004970| 61 64 64 20 73 74 61 63 | 6b 48 69 74 43 6f 75 6e |add stac|kHitCoun|
|00004980| 74 20 74 6f 20 48 69 74 | 43 6f 75 6e 74 0d 61 64 |t to Hit|Count.ad|
|00004990| 64 20 73 74 61 63 6b 43 | 61 72 64 43 6f 75 6e 74 |d stackC|ardCount|
|000049a0| 20 74 6f 20 48 69 74 43 | 61 72 64 43 6f 75 6e 74 | to HitC|ardCount|
|000049b0| 0d 70 75 74 20 73 74 61 | 63 6b 48 69 74 4c 69 73 |.put sta|ckHitLis|
|000049c0| 74 20 61 66 74 65 72 20 | 48 69 74 4c 69 73 74 0d |t after |HitList.|
|000049d0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|000049e0| 61 74 0d 0d 70 75 74 20 | 22 39 39 39 39 39 2c 39 |at..put |"99999,9|
|000049f0| 39 39 39 39 22 20 61 66 | 74 65 72 20 48 69 74 44 |9999" af|ter HitD|
|00004a00| 6f 63 4f 66 66 73 65 74 | 73 20 2d 2d 20 65 6e 64 |ocOffset|s -- end|
|00004a10| 2d 6f 66 2d 6c 69 73 74 | 20 73 65 6e 74 69 6e 65 |-of-list| sentine|
|00004a20| 6c 0d 64 65 6c 65 74 65 | 20 6c 61 73 74 20 63 68 |l.delete| last ch|
|00004a30| 61 72 20 6f 66 20 63 64 | 20 66 6c 64 20 22 70 61 |ar of cd| fld "pa|
|00004a40| 6e 65 31 22 0d 73 65 74 | 20 73 63 72 6f 6c 6c 20 |ne1".set| scroll |
|00004a50| 6f 66 20 63 64 20 66 6c | 64 20 22 70 61 6e 65 31 |of cd fl|d "pane1|
|00004a60| 22 20 74 6f 20 7a 65 72 | 6f 0d 70 75 74 20 22 53 |" to zer|o.put "S|
|00004a70| 65 63 74 69 6f 6e 73 20 | 63 6f 6e 74 61 69 6e 69 |ections |containi|
|00004a80| 6e 67 20 6d 61 74 63 68 | 69 6e 67 20 69 74 65 6d |ng match|ing item|
|00004a90| 73 22 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 22 |s" into |cd fld "|
|00004aa0| 74 69 74 6c 65 31 22 0d | 0d 2d 2d 20 45 6e 61 62 |title1".|.-- Enab|
|00004ab0| 6c 65 20 6f 72 20 64 69 | 73 61 62 6c 65 20 74 68 |le or di|sable th|
|00004ac0| 65 20 70 72 65 76 2f 6e | 65 78 74 20 6d 61 74 63 |e prev/n|ext matc|
|00004ad0| 68 20 6d 65 6e 75 20 69 | 74 65 6d 73 2c 20 64 65 |h menu i|tems, de|
|00004ae0| 70 65 6e 64 69 6e 67 0d | 2d 2d 20 6f 6e 20 77 68 |pending.|-- on wh|
|00004af0| 65 74 68 65 72 20 61 6e | 79 74 68 69 6e 67 20 77 |ether an|ything w|
|00004b00| 61 73 20 66 6f 75 6e 64 | 0d 0d 65 6e 61 62 6c 65 |as found|..enable|
|00004b10| 53 65 61 72 63 68 4d 65 | 6e 75 73 0d 69 66 20 48 |SearchMe|nus.if H|
|00004b20| 69 74 43 6f 75 6e 74 20 | 3d 20 30 20 74 68 65 6e |itCount |= 0 then|
|00004b30| 20 73 65 61 72 63 68 45 | 72 72 6f 72 20 2d 32 20 | searchE|rror -2 |
|00004b40| 2d 2d 20 6e 6f 74 68 69 | 6e 67 20 66 6f 75 6e 64 |-- nothi|ng found|
|00004b50| 0d 0d 2d 2d 20 52 65 73 | 65 6c 65 63 74 20 74 68 |..-- Res|elect th|
|00004b60| 65 20 66 69 72 73 74 20 | 73 65 61 72 63 68 20 74 |e first |search t|
|00004b70| 65 72 6d 0d 0d 73 65 6c | 65 63 74 20 6c 69 6e 65 |erm..sel|ect line|
|00004b80| 20 31 20 6f 66 20 63 64 | 20 66 6c 64 20 22 74 65 | 1 of cd| fld "te|
|00004b90| 72 6d 31 22 0d 0d 65 6e | 64 20 64 6f 53 65 61 72 |rm1"..en|d doSear|
|00004ba0| 63 68 0d 0d 0d 0d 2d 2d | 20 43 6c 65 61 72 20 74 |ch....--| Clear t|
|00004bb0| 68 65 20 73 65 61 72 63 | 68 20 66 69 65 6c 64 73 |he searc|h fields|
|00004bc0| 0d 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |._______|________|
|00004bd0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004be0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004bf0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004c00| 5f 5f 5f 5f 5f 5f 5f 5f | 0d 6f 6e 20 63 6c 65 61 |________|.on clea|
|00004c10| 72 53 65 61 72 63 68 0d | 0d 67 6c 6f 62 61 6c 20 |rSearch.|.global |
|00004c20| 48 69 74 4c 69 73 74 2c | 20 48 69 74 50 6f 69 6e |HitList,| HitPoin|
|00004c30| 74 65 72 2c 20 48 69 74 | 43 61 72 64 43 6f 75 6e |ter, Hit|CardCoun|
|00004c40| 74 2c 20 48 69 74 43 6f | 75 6e 74 0d 0d 6c 6f 63 |t, HitCo|unt..loc|
|00004c50| 6b 20 73 63 72 65 65 6e | 0d 70 75 74 20 65 6d 70 |k screen|.put emp|
|00004c60| 74 79 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 22 |ty into |cd fld "|
|00004c70| 74 65 72 6d 31 22 0d 70 | 75 74 20 65 6d 70 74 79 |term1".p|ut empty|
|00004c80| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 74 65 | into cd| fld "te|
|00004c90| 72 6d 32 22 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |rm2".put| empty i|
|00004ca0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 74 65 72 6d |nto cd f|ld "term|
|00004cb0| 33 22 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |3".put e|mpty int|
|00004cc0| 6f 20 63 64 20 66 6c 64 | 20 22 77 69 74 68 69 6e |o cd fld| "within|
|00004cd0| 22 0d 70 75 74 20 22 69 | 6e 22 20 69 6e 74 6f 20 |".put "i|n" into |
|00004ce0| 63 64 20 66 6c 64 20 22 | 69 6e 4e 6f 74 49 6e 22 |cd fld "|inNotIn"|
|00004cf0| 0d 70 75 74 20 22 73 65 | 63 74 69 6f 6e 22 20 69 |.put "se|ction" i|
|00004d00| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 73 65 63 74 |nto cd f|ld "sect|
|00004d10| 69 6f 6e 50 61 72 61 67 | 72 61 70 68 22 0d 70 75 |ionParag|raph".pu|
|00004d20| 74 20 22 77 69 74 68 69 | 6e 22 20 69 6e 74 6f 20 |t "withi|n" into |
|00004d30| 63 64 20 66 6c 64 20 22 | 77 69 74 68 69 6e 4e 6f |cd fld "|withinNo|
|00004d40| 74 77 69 74 68 69 6e 22 | 0d 70 75 74 20 22 61 6c |twithin"|.put "al|
|00004d50| 6c 20 64 6f 63 75 6d 65 | 6e 74 73 22 20 69 6e 74 |l docume|nts" int|
|00004d60| 6f 20 63 64 20 66 6c 64 | 20 22 73 65 61 72 63 68 |o cd fld| "search|
|00004d70| 44 6f 63 73 22 0d 70 75 | 74 20 65 6d 70 74 79 20 |Docs".pu|t empty |
|00004d80| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 70 61 6e |into cd |fld "pan|
|00004d90| 65 31 22 0d 70 75 74 20 | 22 53 65 63 74 69 6f 6e |e1".put |"Section|
|00004da0| 73 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 6d 61 74 |s contai|ning mat|
|00004db0| 63 68 69 6e 67 20 69 74 | 65 6d 73 22 20 69 6e 74 |ching it|ems" int|
|00004dc0| 6f 20 63 64 20 66 6c 64 | 20 22 74 69 74 6c 65 31 |o cd fld| "title1|
|00004dd0| 22 0d 0d 2d 2d 20 43 6c | 65 61 72 20 74 68 65 20 |"..-- Cl|ear the |
|00004de0| 68 69 74 20 67 6c 6f 62 | 61 6c 73 0d 0d 70 75 74 |hit glob|als..put|
|00004df0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 48 69 74 4c | empty i|nto HitL|
|00004e00| 69 73 74 0d 70 75 74 20 | 7a 65 72 6f 20 69 6e 74 |ist.put |zero int|
|00004e10| 6f 20 48 69 74 50 6f 69 | 6e 74 65 72 0d 70 75 74 |o HitPoi|nter.put|
|00004e20| 20 7a 65 72 6f 20 69 6e | 74 6f 20 48 69 74 43 61 | zero in|to HitCa|
|00004e30| 72 64 43 6f 75 6e 74 0d | 70 75 74 20 7a 65 72 6f |rdCount.|put zero|
|00004e40| 20 69 6e 74 6f 20 48 69 | 74 43 6f 75 6e 74 0d 0d | into Hi|tCount..|
|00004e50| 2d 2d 20 44 69 73 61 62 | 6c 65 20 74 68 65 20 70 |-- Disab|le the p|
|00004e60| 72 65 76 2f 6e 65 78 74 | 20 6d 61 74 63 68 20 6d |rev/next| match m|
|00004e70| 65 6e 75 20 69 74 65 6d | 73 3b 0d 2d 2d 20 70 75 |enu item|s;.-- pu|
|00004e80| 74 20 74 68 65 20 69 6e | 73 65 72 74 69 6f 6e 20 |t the in|sertion |
|00004e90| 70 6f 69 6e 74 20 69 6e | 20 74 68 65 20 66 69 72 |point in| the fir|
|00004ea0| 73 74 20 71 75 65 72 79 | 20 66 69 65 6c 64 0d 0d |st query| field..|
|00004eb0| 65 6e 61 62 6c 65 53 65 | 61 72 63 68 4d 65 6e 75 |enableSe|archMenu|
|00004ec0| 73 0d 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |s..unloc|k screen|
|00004ed0| 0d 73 65 6c 65 63 74 20 | 63 68 61 72 20 31 20 6f |.select |char 1 o|
|00004ee0| 66 20 63 64 20 66 6c 64 | 20 22 74 65 72 6d 31 22 |f cd fld| "term1"|
|00004ef0| 0d 0d 65 6e 64 20 63 6c | 65 61 72 53 65 61 72 63 |..end cl|earSearc|
|00004f00| 68 0d 0d 0d 2d 2d 20 42 | 75 69 6c 64 20 74 68 65 |h...-- B|uild the|
|00004f10| 20 71 75 65 72 79 20 73 | 74 72 69 6e 67 20 66 72 | query s|tring fr|
|00004f20| 6f 6d 20 74 68 65 20 71 | 75 65 72 79 20 74 65 72 |om the q|uery ter|
|00004f30| 6d 20 66 69 65 6c 64 73 | 0d 5f 5f 5f 5f 5f 5f 5f |m fields|._______|
|00004f40| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004f50| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004f60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004f70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004f80| 0d 66 75 6e 63 74 69 6f | 6e 20 71 75 65 72 79 0d |.functio|n query.|
|00004f90| 0d 67 6c 6f 62 61 6c 20 | 44 6f 63 75 6d 65 6e 74 |.global |Document|
|00004fa0| 4c 69 73 74 0d 0d 2d 2d | 20 44 6f 20 74 68 65 20 |List..--| Do the |
|00004fb0| 69 6e 69 74 69 61 6c 20 | 65 72 72 6f 72 20 63 68 |initial |error ch|
|00004fc0| 65 63 6b 69 6e 67 0d 0d | 69 66 20 44 6f 63 75 6d |ecking..|if Docum|
|00004fd0| 65 6e 74 4c 69 73 74 20 | 69 73 20 65 6d 70 74 79 |entList |is empty|
|00004fe0| 20 74 68 65 6e 20 71 75 | 65 72 79 45 72 72 6f 72 | then qu|eryError|
|00004ff0| 20 6e 6f 44 6f 63 75 6d | 65 6e 74 73 0d 0d 69 66 | noDocum|ents..if|
|00005000| 20 63 64 20 66 6c 64 20 | 22 74 65 72 6d 31 22 20 | cd fld |"term1" |
|00005010| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 71 75 |is empty| then qu|
|00005020| 65 72 79 45 72 72 6f 72 | 20 6e 6f 46 69 72 73 74 |eryError| noFirst|
|00005030| 54 65 72 6d 0d 0d 69 66 | 20 63 64 20 66 6c 64 20 |Term..if| cd fld |
|00005040| 22 74 65 72 6d 33 22 20 | 69 73 20 6e 6f 74 20 65 |"term3" |is not e|
|00005050| 6d 70 74 79 20 c2 0d 61 | 6e 64 20 63 64 20 66 6c |mpty ..a|nd cd fl|
|00005060| 64 20 22 77 69 74 68 69 | 6e 22 20 69 73 20 65 6d |d "withi|n" is em|
|00005070| 70 74 79 20 74 68 65 6e | 20 71 75 65 72 79 45 72 |pty then| queryEr|
|00005080| 72 6f 72 20 6e 6f 57 69 | 74 68 69 6e 4e 75 6d 62 |ror noWi|thinNumb|
|00005090| 65 72 0d 0d 69 66 20 63 | 64 20 66 6c 64 20 22 77 |er..if c|d fld "w|
|000050a0| 69 74 68 69 6e 22 20 69 | 73 20 6e 6f 74 20 65 6d |ithin" i|s not em|
|000050b0| 70 74 79 20 c2 0d 61 6e | 64 20 63 64 20 66 6c 64 |pty ..an|d cd fld|
|000050c0| 20 22 74 65 72 6d 33 22 | 20 69 73 20 65 6d 70 74 | "term3"| is empt|
|000050d0| 79 20 74 68 65 6e 20 71 | 75 65 72 79 45 72 72 6f |y then q|ueryErro|
|000050e0| 72 20 6e 6f 57 69 74 68 | 69 6e 57 6f 72 64 0d 0d |r noWith|inWord..|
|000050f0| 69 66 20 28 63 64 20 66 | 6c 64 20 22 74 65 72 6d |if (cd f|ld "term|
|00005100| 31 22 20 ad 20 65 6d 70 | 74 79 29 20 61 6e 64 20 |1" . emp|ty) and |
|00005110| 28 63 64 20 66 6c 64 20 | 22 74 65 72 6d 32 22 20 |(cd fld |"term2" |
|00005120| ad 20 65 6d 70 74 79 29 | 20 c2 0d 61 6e 64 20 28 |. empty)| ..and (|
|00005130| 63 64 20 66 6c 64 20 22 | 74 65 72 6d 33 22 ad 20 |cd fld "|term3". |
|00005140| 65 6d 70 74 79 29 20 74 | 68 65 6e 20 71 75 65 72 |empty) t|hen quer|
|00005150| 79 45 72 72 6f 72 20 6c | 69 6e 65 43 6f 6e 66 6c |yError l|ineConfl|
|00005160| 69 63 74 0d 0d 69 66 20 | 6e 6f 74 20 68 69 6c 69 |ict..if |not hili|
|00005170| 74 65 20 6f 66 20 63 64 | 20 62 74 6e 20 22 54 69 |te of cd| btn "Ti|
|00005180| 74 6c 65 73 22 20 c2 0d | 61 6e 64 20 6e 6f 74 20 |tles" ..|and not |
|00005190| 68 69 6c 69 74 65 20 6f | 66 20 63 64 20 62 74 6e |hilite o|f cd btn|
|000051a0| 20 22 54 65 78 74 22 20 | 74 68 65 6e 20 71 75 65 | "Text" |then que|
|000051b0| 72 79 45 72 72 6f 72 20 | 6e 6f 46 69 65 6c 64 73 |ryError |noFields|
|000051c0| 0d 0d 2d 2d 20 53 65 74 | 20 75 70 20 74 68 65 20 |..-- Set| up the |
|000051d0| 66 69 65 6c 64 20 69 6e | 63 6c 75 73 69 6f 6e 20 |field in|clusion |
|000051e0| 73 74 72 69 6e 67 0d 0d | 70 75 74 20 65 6d 70 74 |string..|put empt|
|000051f0| 79 20 69 6e 74 6f 20 66 | 69 65 6c 64 4c 69 73 74 |y into f|ieldList|
|00005200| 0d 69 66 20 68 69 6c 69 | 74 65 20 6f 66 20 63 64 |.if hili|te of cd|
|00005210| 20 62 74 6e 20 22 54 65 | 78 74 22 20 74 68 65 6e | btn "Te|xt" then|
|00005220| 20 70 75 74 20 22 31 3a | 22 20 61 66 74 65 72 20 | put "1:|" after |
|00005230| 66 69 65 6c 64 4c 69 73 | 74 0d 69 66 20 68 69 6c |fieldLis|t.if hil|
|00005240| 69 74 65 20 6f 66 20 63 | 64 20 62 74 6e 20 22 54 |ite of c|d btn "T|
|00005250| 69 74 6c 65 73 22 20 74 | 68 65 6e 20 70 75 74 20 |itles" t|hen put |
|00005260| 22 32 3a 22 20 61 66 74 | 65 72 20 66 69 65 6c 64 |"2:" aft|er field|
|00005270| 4c 69 73 74 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |List.del|ete last|
|00005280| 20 63 68 61 72 20 6f 66 | 20 66 69 65 6c 64 4c 69 | char of| fieldLi|
|00005290| 73 74 0d 0d 2d 2d 20 47 | 65 74 20 74 68 65 20 73 |st..-- G|et the s|
|000052a0| 65 61 72 63 68 20 74 65 | 72 6d 73 0d 0d 70 75 74 |earch te|rms..put|
|000052b0| 20 73 74 72 69 70 50 75 | 6e 63 74 75 61 74 69 6f | stripPu|nctuatio|
|000052c0| 6e 28 63 64 20 66 6c 64 | 20 22 74 65 72 6d 31 22 |n(cd fld| "term1"|
|000052d0| 29 20 69 6e 74 6f 20 74 | 65 72 6d 31 0d 70 75 74 |) into t|erm1.put|
|000052e0| 20 73 74 72 69 70 50 75 | 6e 63 74 75 61 74 69 6f | stripPu|nctuatio|
|000052f0| 6e 28 63 64 20 66 6c 64 | 20 22 74 65 72 6d 32 22 |n(cd fld| "term2"|
|00005300| 29 20 69 6e 74 6f 20 74 | 65 72 6d 32 0d 70 75 74 |) into t|erm2.put|
|00005310| 20 73 74 72 69 70 50 75 | 6e 63 74 75 61 74 69 6f | stripPu|nctuatio|
|00005320| 6e 28 63 64 20 66 6c 64 | 20 22 74 65 72 6d 33 22 |n(cd fld| "term3"|
|00005330| 29 20 69 6e 74 6f 20 74 | 65 72 6d 33 0d 0d 2d 2d |) into t|erm3..--|
|00005340| 20 42 75 69 6c 64 20 74 | 68 65 20 71 75 65 72 79 | Build t|he query|
|00005350| 0d 0d 69 66 20 74 65 72 | 6d 32 20 3d 20 65 6d 70 |..if ter|m2 = emp|
|00005360| 74 79 20 61 6e 64 20 74 | 65 72 6d 33 20 3d 20 65 |ty and t|erm3 = e|
|00005370| 6d 70 74 79 20 74 68 65 | 6e 0d 70 75 74 20 74 65 |mpty the|n.put te|
|00005380| 72 6d 31 20 26 20 22 7c | 52 3d 41 2c 4e 3d 46 2c |rm1 & "||R=A,N=F,|
|00005390| 42 3d 46 2c 46 3d 22 20 | 26 20 66 69 65 6c 64 4c |B=F,F=" |& fieldL|
|000053a0| 69 73 74 20 69 6e 74 6f | 20 74 68 65 51 75 65 72 |ist into| theQuer|
|000053b0| 79 0d 0d 65 6c 73 65 20 | 69 66 20 74 65 72 6d 32 |y..else |if term2|
|000053c0| 20 ad 20 65 6d 70 74 79 | 20 61 6e 64 20 74 65 72 | . empty| and ter|
|000053d0| 6d 33 20 3d 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |m3 = emp|ty then.|
|000053e0| 69 66 20 63 64 20 66 6c | 64 20 22 69 6e 4e 6f 74 |if cd fl|d "inNot|
|000053f0| 49 6e 22 20 3d 20 22 69 | 6e 22 20 74 68 65 6e 20 |In" = "i|n" then |
|00005400| 67 65 74 20 22 46 22 20 | 65 6c 73 65 20 67 65 74 |get "F" |else get|
|00005410| 20 22 54 22 0d 69 66 20 | 63 64 20 66 6c 64 20 22 | "T".if |cd fld "|
|00005420| 73 65 63 74 69 6f 6e 50 | 61 72 61 67 72 61 70 68 |sectionP|aragraph|
|00005430| 22 20 3d 20 22 73 65 63 | 74 69 6f 6e 22 20 74 68 |" = "sec|tion" th|
|00005440| 65 6e 0d 70 75 74 20 74 | 65 72 6d 31 20 26 20 22 |en.put t|erm1 & "|
|00005450| 7c 52 3d 41 2c 4e 3d 46 | 2c 42 3d 46 2c 46 3d 22 ||R=A,N=F|,B=F,F="|
|00005460| 20 26 20 66 69 65 6c 64 | 4c 69 73 74 20 26 20 72 | & field|List & r|
|00005470| 65 74 75 72 6e 20 c2 0d | 26 20 74 65 72 6d 32 20 |eturn ..|& term2 |
|00005480| 26 20 22 7c 52 3d 41 2c | 4e 3d 22 20 26 20 69 74 |& "|R=A,|N=" & it|
|00005490| 20 26 20 22 2c 42 3d 46 | 2c 46 3d 22 20 26 20 66 | & ",B=F|,F=" & f|
|000054a0| 69 65 6c 64 4c 69 73 74 | 20 69 6e 74 6f 20 74 68 |ieldList| into th|
|000054b0| 65 51 75 65 72 79 0d 65 | 6c 73 65 0d 70 75 74 20 |eQuery.e|lse.put |
|000054c0| 74 65 72 6d 31 20 26 20 | 22 7c 52 3d 50 2c 4e 3d |term1 & |"|R=P,N=|
|000054d0| 46 2c 42 3d 54 2c 46 3d | 22 20 26 20 66 69 65 6c |F,B=T,F=|" & fiel|
|000054e0| 64 4c 69 73 74 20 26 20 | 72 65 74 75 72 6e 20 c2 |dList & |return .|
|000054f0| 0d 26 20 74 65 72 6d 32 | 20 26 20 22 7c 52 3d 50 |.& term2| & "|R=P|
|00005500| 2c 4e 3d 22 20 26 20 69 | 74 20 26 20 22 2c 42 3d |,N=" & i|t & ",B=|
|00005510| 54 2c 46 3d 22 20 26 20 | 66 69 65 6c 64 4c 69 73 |T,F=" & |fieldLis|
|00005520| 74 20 69 6e 74 6f 20 74 | 68 65 51 75 65 72 79 0d |t into t|heQuery.|
|00005530| 65 6e 64 20 69 66 0d 0d | 65 6c 73 65 20 69 66 20 |end if..|else if |
|00005540| 74 65 72 6d 32 20 3d 20 | 65 6d 70 74 79 20 61 6e |term2 = |empty an|
|00005550| 64 20 74 65 72 6d 33 20 | ad 20 65 6d 70 74 79 20 |d term3 |. empty |
|00005560| 74 68 65 6e 0d 69 66 20 | 63 64 20 66 6c 64 20 22 |then.if |cd fld "|
|00005570| 77 69 74 68 69 6e 4e 6f | 74 57 69 74 68 69 6e 22 |withinNo|tWithin"|
|00005580| 20 3d 20 22 77 69 74 68 | 69 6e 22 20 74 68 65 6e | = "with|in" then|
|00005590| 20 67 65 74 20 22 46 22 | 20 65 6c 73 65 20 67 65 | get "F"| else ge|
|000055a0| 74 20 22 54 22 0d 70 75 | 74 20 63 64 20 66 6c 64 |t "T".pu|t cd fld|
|000055b0| 20 22 77 69 74 68 69 6e | 22 20 69 6e 74 6f 20 77 | "within|" into w|
|000055c0| 0d 70 75 74 20 74 65 72 | 6d 31 20 26 20 22 7c 52 |.put ter|m1 & "|R|
|000055d0| 3d 22 20 26 20 77 20 26 | 20 22 2c 4e 3d 22 20 26 |=" & w &| ",N=" &|
|000055e0| 20 69 74 20 26 20 22 2c | 42 3d 54 2c 46 3d 22 20 | it & ",|B=T,F=" |
|000055f0| 26 20 66 69 65 6c 64 4c | 69 73 74 20 26 20 72 65 |& fieldL|ist & re|
|00005600| 74 75 72 6e 20 c2 0d 26 | 20 74 65 72 6d 33 20 26 |turn ..&| term3 &|
|00005610| 20 22 7c 52 3d 22 20 26 | 20 77 20 26 20 22 2c 4e | "|R=" &| w & ",N|
|00005620| 3d 22 20 26 20 69 74 20 | 26 20 22 2c 42 3d 54 2c |=" & it |& ",B=T,|
|00005630| 46 3d 22 20 26 20 66 69 | 65 6c 64 4c 69 73 74 20 |F=" & fi|eldList |
|00005640| 69 6e 74 6f 20 74 68 65 | 51 75 65 72 79 0d 0d 65 |into the|Query..e|
|00005650| 6c 73 65 20 69 66 20 74 | 65 72 6d 32 20 ad 20 65 |lse if t|erm2 . e|
|00005660| 6d 70 74 79 20 61 6e 64 | 20 74 65 72 6d 33 20 ad |mpty and| term3 .|
|00005670| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 69 66 20 63 | empty t|hen.if c|
|00005680| 64 20 66 6c 64 20 22 69 | 6e 4e 6f 74 49 6e 22 20 |d fld "i|nNotIn" |
|00005690| 3d 20 22 69 6e 22 20 74 | 68 65 6e 20 70 75 74 20 |= "in" t|hen put |
|000056a0| 22 46 22 20 69 6e 74 6f | 20 6e 31 20 65 6c 73 65 |"F" into| n1 else|
|000056b0| 20 70 75 74 20 22 54 22 | 20 69 6e 74 6f 20 6e 31 | put "T"| into n1|
|000056c0| 0d 69 66 20 63 64 20 66 | 6c 64 20 22 77 69 74 68 |.if cd f|ld "with|
|000056d0| 69 6e 4e 6f 74 57 69 74 | 68 69 6e 22 20 3d 20 22 |inNotWit|hin" = "|
|000056e0| 77 69 74 68 69 6e 22 20 | 74 68 65 6e 20 70 75 74 |within" |then put|
|000056f0| 20 22 46 22 20 69 6e 74 | 6f 20 6e 32 20 65 6c 73 | "F" int|o n2 els|
|00005700| 65 20 c2 0d 70 75 74 20 | 22 54 22 20 69 6e 74 6f |e ..put |"T" into|
|00005710| 20 6e 32 0d 70 75 74 20 | 63 64 20 66 6c 64 20 22 | n2.put |cd fld "|
|00005720| 77 69 74 68 69 6e 22 20 | 69 6e 74 6f 20 77 0d 70 |within" |into w.p|
|00005730| 75 74 20 74 65 72 6d 31 | 20 26 20 22 7c 52 3d 50 |ut term1| & "|R=P|
|00005740| 2c 4e 3d 46 2c 42 3d 54 | 2c 46 3d 22 20 26 20 66 |,N=F,B=T|,F=" & f|
|00005750| 69 65 6c 64 4c 69 73 74 | 20 26 20 72 65 74 75 72 |ieldList| & retur|
|00005760| 6e 20 c2 0d 26 20 74 65 | 72 6d 32 20 26 20 22 7c |n ..& te|rm2 & "||
|00005770| 52 3d 50 2c 4e 3d 22 20 | 26 20 6e 31 20 26 20 22 |R=P,N=" |& n1 & "|
|00005780| 2c 42 3d 54 2c 46 3d 22 | 20 26 20 66 69 65 6c 64 |,B=T,F="| & field|
|00005790| 4c 69 73 74 20 26 20 72 | 65 74 75 72 6e 20 c2 0d |List & r|eturn ..|
|000057a0| 26 20 74 65 72 6d 33 20 | 26 20 22 7c 52 3d 22 20 |& term3 |& "|R=" |
|000057b0| 26 20 77 20 26 20 22 2c | 4e 3d 22 20 26 20 6e 32 |& w & ",|N=" & n2|
|000057c0| 20 26 20 22 2c 42 3d 54 | 2c 46 3d 22 20 26 20 66 | & ",B=T|,F=" & f|
|000057d0| 69 65 6c 64 4c 69 73 74 | 20 69 6e 74 6f 20 74 68 |ieldList| into th|
|000057e0| 65 51 75 65 72 79 0d 65 | 6e 64 20 69 66 0d 0d 2d |eQuery.e|nd if..-|
|000057f0| 2d 20 52 65 74 75 72 6e | 20 74 68 65 20 71 75 65 |- Return| the que|
|00005800| 72 79 20 73 74 72 69 6e | 67 0d 0d 72 65 74 75 72 |ry strin|g..retur|
|00005810| 6e 20 72 65 74 75 72 6e | 20 26 20 74 68 65 51 75 |n return| & theQu|
|00005820| 65 72 79 20 26 20 72 65 | 74 75 72 6e 0d 0d 65 6e |ery & re|turn..en|
|00005830| 64 20 71 75 65 72 79 0d | 0d 0d 0d 2d 2d 20 53 74 |d query.|...-- St|
|00005840| 72 69 70 20 70 75 6e 63 | 74 75 61 74 69 6f 6e 20 |rip punc|tuation |
|00005850| 66 72 6f 6d 20 73 65 61 | 72 63 68 20 74 65 72 6d |from sea|rch term|
|00005860| 73 0d 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |s.______|________|
|00005870| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005880| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005890| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000058a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 66 75 6e 63 74 69 |________|_.functi|
|000058b0| 6f 6e 20 73 74 72 69 70 | 50 75 6e 63 74 75 61 74 |on strip|Punctuat|
|000058c0| 69 6f 6e 20 73 74 72 0d | 0d 72 65 70 65 61 74 20 |ion str.|.repeat |
|000058d0| 77 69 74 68 20 63 20 3d | 20 31 20 74 6f 20 6e 75 |with c =| 1 to nu|
|000058e0| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 73 20 69 6e |mber of |chars in|
|000058f0| 20 73 74 72 0d 69 66 20 | 63 68 61 72 20 63 20 6f | str.if |char c o|
|00005900| 66 20 73 74 72 20 69 73 | 20 22 2f 22 20 74 68 65 |f str is| "/" the|
|00005910| 6e 20 70 75 74 20 22 2d | 22 20 69 6e 74 6f 20 63 |n put "-|" into c|
|00005920| 68 61 72 20 63 20 6f 66 | 20 73 74 72 0d 65 6e 64 |har c of| str.end|
|00005930| 20 72 65 70 65 61 74 0d | 0d 72 65 74 75 72 6e 20 | repeat.|.return |
|00005940| 73 74 72 0d 0d 65 6e 64 | 20 73 74 72 69 70 50 75 |str..end| stripPu|
|00005950| 6e 63 74 75 61 74 69 6f | 6e 0d 0d 0d 0d 2d 2d 20 |nctuatio|n....-- |
|00005960| 52 65 70 6f 72 74 20 61 | 6e 20 65 72 72 6f 72 20 |Report a|n error |
|00005970| 69 6e 20 74 68 65 20 71 | 75 65 72 79 0d 5f 5f 5f |in the q|uery.___|
|00005980| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005990| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000059a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000059b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000059c0| 5f 5f 5f 5f 0d 6f 6e 20 | 71 75 65 72 79 45 72 72 |____.on |queryErr|
|000059d0| 6f 72 20 74 68 65 45 72 | 72 6f 72 0d 0d 2d 2d 20 |or theEr|ror..-- |
|000059e0| 4e 6f 20 6d 61 69 6e 20 | 74 65 72 6d 20 65 6e 74 |No main |term ent|
|000059f0| 65 72 65 64 0d 0d 69 66 | 20 74 68 65 45 72 72 6f |ered..if| theErro|
|00005a00| 72 20 69 73 20 22 6e 6f | 44 6f 63 75 6d 65 6e 74 |r is "no|Document|
|00005a10| 73 22 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |s" then.|answer "|
|00005a20| 54 68 65 72 65 20 61 72 | 65 20 6e 6f 20 64 6f 63 |There ar|e no doc|
|00005a30| 75 6d 65 6e 74 73 20 6c | 69 73 74 65 64 20 69 6e |uments l|isted in|
|00005a40| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 6d 65 | the doc|ument me|
|00005a50| 6e 75 2e 22 20 c2 0d 26 | 26 20 22 50 6c 65 61 73 |nu." ..&|& "Pleas|
|00005a60| 65 20 6f 70 65 6e 20 61 | 20 64 6f 63 75 6d 65 6e |e open a| documen|
|00005a70| 74 20 61 6e 64 20 74 72 | 79 20 61 67 61 69 6e 2e |t and tr|y again.|
|00005a80| 22 0d 0d 2d 2d 20 4e 6f | 20 6d 61 69 6e 20 74 65 |"..-- No| main te|
|00005a90| 72 6d 20 65 6e 74 65 72 | 65 64 0d 0d 65 6c 73 65 |rm enter|ed..else|
|00005aa0| 20 69 66 20 74 68 65 45 | 72 72 6f 72 20 69 73 20 | if theE|rror is |
|00005ab0| 22 6e 6f 46 69 72 73 74 | 54 65 72 6d 22 20 74 68 |"noFirst|Term" th|
|00005ac0| 65 6e 0d 61 6e 73 77 65 | 72 20 22 59 6f 75 20 6d |en.answe|r "You m|
|00005ad0| 75 73 74 20 65 6e 74 65 | 72 20 73 6f 6d 65 74 68 |ust ente|r someth|
|00005ae0| 69 6e 67 20 6f 6e 20 74 | 68 65 20 d2 53 65 61 72 |ing on t|he .Sear|
|00005af0| 63 68 20 66 6f 72 d3 20 | 6c 69 6e 65 2e 22 0d 73 |ch for. |line.".s|
|00005b00| 65 6c 65 63 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |elect li|ne 1 of |
|00005b10| 63 64 20 66 6c 64 20 22 | 74 65 72 6d 31 22 0d 0d |cd fld "|term1"..|
|00005b20| 2d 2d 20 4e 6f 20 73 65 | 61 72 63 68 20 66 69 65 |-- No se|arch fie|
|00005b30| 6c 64 20 73 70 65 63 69 | 66 69 65 64 0d 0d 65 6c |ld speci|fied..el|
|00005b40| 73 65 20 69 66 20 74 68 | 65 45 72 72 6f 72 20 69 |se if th|eError i|
|00005b50| 73 20 22 6e 6f 46 69 65 | 6c 64 73 22 20 74 68 65 |s "noFie|lds" the|
|00005b60| 6e 0d 61 6e 73 77 65 72 | 20 22 59 6f 75 20 64 69 |n.answer| "You di|
|00005b70| 64 6e 27 74 20 73 70 65 | 63 69 66 79 20 77 68 61 |dn't spe|cify wha|
|00005b80| 74 20 74 6f 20 73 65 61 | 72 63 68 2c 20 22 20 c2 |t to sea|rch, " .|
|00005b90| 0d 26 20 22 74 68 65 20 | 74 65 78 74 20 61 6e 64 |.& "the |text and|
|00005ba0| 2f 6f 72 20 74 68 65 20 | 74 69 74 6c 65 73 2e 22 |/or the |titles."|
|00005bb0| 0d 0d 2d 2d 20 53 70 65 | 63 69 66 69 65 64 20 61 |..-- Spe|cified a|
|00005bc0| 20 70 72 6f 78 69 6d 69 | 74 79 2c 20 62 75 74 20 | proximi|ty, but |
|00005bd0| 6e 6f 74 20 74 68 65 20 | 73 65 63 6f 6e 64 20 74 |not the |second t|
|00005be0| 65 72 6d 0d 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |erm..els|e if the|
|00005bf0| 45 72 72 6f 72 20 69 73 | 20 22 6e 6f 57 69 74 68 |Error is| "noWith|
|00005c00| 69 6e 57 6f 72 64 22 20 | 74 68 65 6e 0d 61 6e 73 |inWord" |then.ans|
|00005c10| 77 65 72 20 22 59 6f 75 | 20 73 70 65 63 69 66 69 |wer "You| specifi|
|00005c20| 65 64 20 d2 22 20 26 20 | 63 64 20 66 6c 64 20 22 |ed ." & |cd fld "|
|00005c30| 77 69 74 68 69 6e 4e 6f | 74 57 69 74 68 69 6e 22 |withinNo|tWithin"|
|00005c40| 20 c2 0d 26 26 20 63 64 | 20 66 6c 64 20 22 77 69 | ..&& cd| fld "wi|
|00005c50| 74 68 69 6e 22 20 26 26 | 20 22 77 6f 72 64 73 d3 |thin" &&| "words.|
|00005c60| 2e 2e 2e 22 20 c2 0d 26 | 26 20 69 74 20 26 26 20 |..." ..&|& it && |
|00005c70| 63 64 20 66 6c 64 20 22 | 77 69 74 68 69 6e 22 20 |cd fld "|within" |
|00005c80| 26 26 20 22 77 6f 72 64 | 73 20 6f 66 20 77 68 61 |&& "word|s of wha|
|00005c90| 74 3f 22 0d 73 65 6c 65 | 63 74 20 6c 69 6e 65 20 |t?".sele|ct line |
|00005ca0| 31 20 6f 66 20 63 64 20 | 66 6c 64 20 22 74 65 72 |1 of cd |fld "ter|
|00005cb0| 6d 33 22 0d 0d 2d 2d 20 | 53 70 65 63 69 66 69 65 |m3"..-- |Specifie|
|00005cc0| 64 20 61 20 73 65 63 6f | 6e 64 20 74 65 72 6d 2c |d a seco|nd term,|
|00005cd0| 20 62 75 74 20 6e 6f 20 | 70 72 6f 78 69 6d 69 74 | but no |proximit|
|00005ce0| 79 0d 0d 65 6c 73 65 20 | 69 66 20 74 68 65 45 72 |y..else |if theEr|
|00005cf0| 72 6f 72 20 69 73 20 22 | 6e 6f 57 69 74 68 69 6e |ror is "|noWithin|
|00005d00| 4e 75 6d 62 65 72 22 20 | 74 68 65 6e 0d 61 6e 73 |Number" |then.ans|
|00005d10| 77 65 72 20 22 59 6f 75 | 20 64 69 64 6e 27 74 20 |wer "You| didn't |
|00005d20| 73 70 65 63 69 66 79 20 | 74 68 65 20 6e 75 6d 62 |specify |the numb|
|00005d30| 65 72 20 6f 66 20 77 6f | 72 64 73 2e 22 0d 73 65 |er of wo|rds.".se|
|00005d40| 6c 65 63 74 20 6c 69 6e | 65 20 31 20 6f 66 20 63 |lect lin|e 1 of c|
|00005d50| 64 20 66 6c 64 20 22 77 | 69 74 68 69 6e 22 0d 0d |d fld "w|ithin"..|
|00005d60| 2d 2d 20 53 70 65 63 69 | 66 69 65 64 20 62 6f 74 |-- Speci|fied bot|
|00005d70| 68 20 70 72 6f 78 69 6d | 69 74 79 20 61 6e 64 20 |h proxim|ity and |
|00005d80| 73 61 6d 65 20 63 61 72 | 64 3b 20 48 79 70 65 72 |same car|d; Hyper|
|00005d90| 4b 52 53 20 63 61 6e 27 | 74 20 64 6f 20 74 68 61 |KRS can'|t do tha|
|00005da0| 74 0d 0d 65 6c 73 65 20 | 69 66 20 74 68 65 45 72 |t..else |if theEr|
|00005db0| 72 6f 72 20 69 73 20 22 | 6c 69 6e 65 43 6f 6e 66 |ror is "|lineConf|
|00005dc0| 6c 69 63 74 22 20 74 68 | 65 6e 0d 61 6e 73 77 65 |lict" th|en.answe|
|00005dd0| 72 20 22 59 6f 75 20 63 | 61 6e d5 74 20 75 73 65 |r "You c|an.t use|
|00005de0| 20 d2 69 6e 20 74 68 65 | 20 73 61 6d 65 20 73 65 | .in the| same se|
|00005df0| 63 74 69 6f 6e 20 6f 72 | 20 70 61 72 61 67 72 61 |ction or| paragra|
|00005e00| 70 68 d3 22 20 c2 0d 26 | 26 20 22 61 6e 64 20 d2 |ph." ..&|& "and .|
|00005e10| 77 69 74 68 69 6e 20 3c | 6e 3e 20 77 6f 72 64 73 |within <|n> words|
|00005e20| d3 20 69 6e 20 74 68 65 | 20 73 61 6d 65 20 73 65 |. in the| same se|
|00005e30| 61 72 63 68 2e 22 0d 0d | 65 6e 64 20 69 66 0d 0d |arch."..|end if..|
|00005e40| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 43 61 72 |exit to |HyperCar|
|00005e50| 64 0d 0d 65 6e 64 20 71 | 75 65 72 79 45 72 72 6f |d..end q|ueryErro|
|00005e60| 72 0d 0d 0d 0d 2d 2d 20 | 52 65 70 6f 72 74 20 61 |r....-- |Report a|
|00005e70| 6e 20 65 72 72 6f 72 20 | 69 6e 20 74 68 65 20 73 |n error |in the s|
|00005e80| 65 61 72 63 68 0d 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |earch.__|________|
|00005e90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005ea0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005eb0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005ec0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 0d 6f 6e |________|_____.on|
|00005ed0| 20 73 65 61 72 63 68 45 | 72 72 6f 72 20 74 68 65 | searchE|rror the|
|00005ee0| 45 72 72 6f 72 0d 0d 67 | 6c 6f 62 61 6c 20 49 6e |Error..g|lobal In|
|00005ef0| 64 65 78 46 69 6c 65 4e | 61 6d 65 2c 20 49 6e 64 |dexFileN|ame, Ind|
|00005f00| 65 78 46 6f 6c 64 65 72 | 0d 0d 2d 2d 20 69 66 20 |exFolder|..-- if |
|00005f10| 6c 69 6e 65 20 31 20 6f | 66 20 74 68 65 45 72 72 |line 1 o|f theErr|
|00005f20| 6f 72 20 69 73 20 6e 65 | 67 61 74 69 76 65 2c 20 |or is ne|gative, |
|00005f30| 69 74 27 73 20 61 6e 20 | 65 72 72 6f 72 20 72 65 |it's an |error re|
|00005f40| 70 6f 72 74 65 64 20 62 | 79 20 61 0d 2d 2d 20 48 |ported b|y a.-- H|
|00005f50| 79 70 65 72 4b 52 53 20 | 58 43 4d 44 20 6f 72 20 |yperKRS |XCMD or |
|00005f60| 58 46 43 4e 2c 20 69 6e | 20 77 68 69 63 68 20 63 |XFCN, in| which c|
|00005f70| 61 73 65 20 6c 69 6e 65 | 20 32 20 6f 66 20 74 68 |ase line| 2 of th|
|00005f80| 65 45 72 72 6f 72 20 69 | 73 20 74 68 65 0d 2d 2d |eError i|s the.--|
|00005f90| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 2e 20 | error m|essage. |
|00005fa0| 4f 74 68 65 72 77 69 73 | 65 2c 20 69 74 27 73 20 |Otherwis|e, it's |
|00005fb0| 61 6e 20 65 72 72 6f 72 | 20 72 65 70 6f 72 74 65 |an error| reporte|
|00005fc0| 64 20 62 79 20 61 20 73 | 63 72 69 70 74 2e 0d 0d |d by a s|cript...|
|00005fd0| 70 75 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 74 68 |put line| 1 of th|
|00005fe0| 65 45 72 72 6f 72 20 69 | 6e 74 6f 20 65 72 72 6f |eError i|nto erro|
|00005ff0| 72 43 6f 64 65 0d 70 75 | 74 20 6c 69 6e 65 20 32 |rCode.pu|t line 2|
|00006000| 20 6f 66 20 74 68 65 45 | 72 72 6f 72 20 69 6e 74 | of theE|rror int|
|00006010| 6f 20 65 72 72 6f 72 4d | 65 73 73 61 67 65 0d 0d |o errorM|essage..|
|00006020| 69 66 20 65 72 72 6f 72 | 43 6f 64 65 20 3d 20 2d |if error|Code = -|
|00006030| 31 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 4e |1 then.a|nswer "N|
|00006040| 6f 20 6d 61 74 63 68 65 | 73 20 77 65 72 65 20 66 |o matche|s were f|
|00006050| 6f 75 6e 64 20 66 6f 72 | 20 79 6f 75 72 20 71 75 |ound for| your qu|
|00006060| 65 72 79 2e 22 20 26 20 | 72 65 74 75 72 6e 20 c2 |ery." & |return .|
|00006070| 0d 26 20 22 28 42 61 64 | 20 71 75 65 72 79 20 6c |.& "(Bad| query l|
|00006080| 69 6e 65 29 22 0d 0d 65 | 6c 73 65 20 69 66 20 65 |ine)"..e|lse if e|
|00006090| 72 72 6f 72 43 6f 64 65 | 20 3d 20 2d 32 20 74 68 |rrorCode| = -2 th|
|000060a0| 65 6e 0d 61 6e 73 77 65 | 72 20 22 4e 6f 20 6d 61 |en.answe|r "No ma|
|000060b0| 74 63 68 65 73 20 77 65 | 72 65 20 66 6f 75 6e 64 |tches we|re found|
|000060c0| 20 66 6f 72 20 79 6f 75 | 72 20 71 75 65 72 79 2e | for you|r query.|
|000060d0| 22 0d 0d 65 6c 73 65 20 | 69 66 20 65 72 72 6f 72 |"..else |if error|
|000060e0| 43 6f 64 65 20 3d 20 2d | 33 20 74 68 65 6e 0d 61 |Code = -|3 then.a|
|000060f0| 6e 73 77 65 72 20 22 4e | 6f 74 20 65 6e 6f 75 67 |nswer "N|ot enoug|
|00006100| 68 20 6d 65 6d 6f 72 79 | 20 66 6f 72 20 74 68 69 |h memory| for thi|
|00006110| 73 20 73 65 61 72 63 68 | 2e 20 54 72 79 20 6d 61 |s search|. Try ma|
|00006120| 6b 69 6e 67 20 74 68 65 | 20 73 65 61 72 63 68 22 |king the| search"|
|00006130| 20 c2 0d 26 26 20 22 63 | 72 69 74 65 72 69 61 20 | ..&& "c|riteria |
|00006140| 6d 6f 72 65 20 73 70 65 | 63 69 66 69 63 2e 22 0d |more spe|cific.".|
|00006150| 0d 65 6c 73 65 20 69 66 | 20 65 72 72 6f 72 43 6f |.else if| errorCo|
|00006160| 64 65 20 3d 20 2d 34 20 | 74 68 65 6e 0d 61 6e 73 |de = -4 |then.ans|
|00006170| 77 65 72 20 22 4e 6f 20 | 6d 61 74 63 68 65 73 20 |wer "No |matches |
|00006180| 77 65 72 65 20 66 6f 75 | 6e 64 20 66 6f 72 20 79 |were fou|nd for y|
|00006190| 6f 75 72 20 71 75 65 72 | 79 2e 22 20 26 20 72 65 |our quer|y." & re|
|000061a0| 74 75 72 6e 20 c2 0d 26 | 20 22 28 42 61 64 20 70 |turn ..&| "(Bad p|
|000061b0| 61 72 61 6d 65 74 65 72 | 29 22 0d 0d 65 6c 73 65 |arameter|)"..else|
|000061c0| 20 69 66 20 65 72 72 6f | 72 43 6f 64 65 20 3d 20 | if erro|rCode = |
|000061d0| 2d 35 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |-5 then.|answer "|
|000061e0| 53 6f 72 72 79 2c 20 63 | 6f 75 6c 64 6e 27 74 20 |Sorry, c|ouldn't |
|000061f0| 6c 6f 63 61 74 65 20 74 | 68 65 20 69 6e 64 65 78 |locate t|he index|
|00006200| 20 66 69 6c 65 2e 22 0d | 0d 65 6c 73 65 20 69 66 | file.".|.else if|
|00006210| 20 65 72 72 6f 72 43 6f | 64 65 20 3d 20 2d 36 20 | errorCo|de = -6 |
|00006220| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 54 68 65 |then.ans|wer "The|
|00006230| 72 65 20 61 72 65 20 6d | 6f 72 65 20 74 68 61 6e |re are m|ore than|
|00006240| 20 34 30 30 30 20 6f 63 | 63 75 72 72 65 6e 63 65 | 4000 oc|currence|
|00006250| 73 20 6f 66 20 74 68 69 | 73 20 71 75 65 72 79 2e |s of thi|s query.|
|00006260| 22 20 c2 0d 26 26 20 22 | 54 72 79 20 6d 61 6b 69 |" ..&& "|Try maki|
|00006270| 6e 67 20 74 68 65 20 73 | 65 61 72 63 68 20 63 72 |ng the s|earch cr|
|00006280| 69 74 65 72 69 61 20 6d | 6f 72 65 20 73 70 65 63 |iteria m|ore spec|
|00006290| 69 66 69 63 2e 22 0d 0d | 65 6c 73 65 20 69 66 20 |ific."..|else if |
|000062a0| 65 72 72 6f 72 43 6f 64 | 65 20 3d 20 2d 37 20 74 |errorCod|e = -7 t|
|000062b0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 4e 6f 20 6d |hen.answ|er "No m|
|000062c0| 61 74 63 68 65 73 20 77 | 65 72 65 20 66 6f 75 6e |atches w|ere foun|
|000062d0| 64 20 66 6f 72 20 79 6f | 75 72 20 71 75 65 72 79 |d for yo|ur query|
|000062e0| 2e 22 0d 0d 65 6c 73 65 | 20 69 66 20 65 72 72 6f |."..else| if erro|
|000062f0| 72 43 6f 64 65 20 3d 20 | 2d 38 20 74 68 65 6e 0d |rCode = |-8 then.|
|00006300| 61 6e 73 77 65 72 20 22 | 54 68 65 72 65 20 61 72 |answer "|There ar|
|00006310| 65 20 6e 6f 20 6f 70 65 | 6e 20 64 6f 63 75 6d 65 |e no ope|n docume|
|00006320| 6e 74 73 20 74 6f 20 73 | 65 61 72 63 68 2e 22 0d |nts to s|earch.".|
|00006330| 0d 65 6c 73 65 20 69 66 | 20 65 72 72 6f 72 43 6f |.else if| errorCo|
|00006340| 64 65 20 3d 20 31 20 74 | 68 65 6e 0d 61 6e 73 77 |de = 1 t|hen.answ|
|00006350| 65 72 20 22 54 6f 6f 20 | 6d 61 6e 79 20 74 69 74 |er "Too |many tit|
|00006360| 6c 65 73 20 77 65 72 65 | 20 66 6f 75 6e 64 2e 20 |les were| found. |
|00006370| 54 72 79 20 6d 61 6b 69 | 6e 67 20 74 68 65 20 73 |Try maki|ng the s|
|00006380| 65 61 72 63 68 22 20 c2 | 0d 26 26 20 22 63 72 69 |earch" .|.&& "cri|
|00006390| 74 65 72 69 61 20 6d 6f | 72 65 20 73 70 65 63 69 |teria mo|re speci|
|000063a0| 66 69 63 2e 22 0d 0d 65 | 6e 64 20 69 66 0d 0d 2d |fic."..e|nd if..-|
|000063b0| 2d 20 48 69 6c 69 74 65 | 20 74 68 65 20 66 69 72 |- Hilite| the fir|
|000063c0| 73 74 20 73 65 61 72 63 | 68 20 74 65 72 6d 20 61 |st searc|h term a|
|000063d0| 6e 64 20 73 74 6f 70 0d | 0d 73 65 6c 65 63 74 20 |nd stop.|.select |
|000063e0| 6c 69 6e 65 20 31 20 6f | 66 20 63 64 20 66 6c 64 |line 1 o|f cd fld|
|000063f0| 20 22 74 65 72 6d 31 22 | 0d 65 78 69 74 20 74 6f | "term1"|.exit to|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.